Switch back to the *.ino file you are developing, and click before the line number to set desired break points:.follow this screen to add Arduino debugging configuration (F5).Click debug button or (Ctrl+Shift+D), to enter debug view: Here we used Microsoft Azure IoT Developer Kit as test board, which is an Arduino compatible MCU board. open a *.ino file with device connected.assuming developers have been using Arduino Extension for Visual Studio Code for developing Arduino code.Here is a sample debugging session to help Arduino developers get started: There is a new release from Arduino Extension for Visual Studio Code, with modern debugging features to help Arduino developers easily perform the debugging tasks within Visual Studio Code, without the need of extra hardware or extra lines of print messages. For those enterprise users, there are more paid options such as Visual Micro for Visual Studio, etc. Some have to rely on Serial Monitor to print necessary messages for debugging. Arduino developers often have to explore many alternative methods and tools to debug Arduino code. If the board has JTAG interface support, with the help of extra hardware, developer can do the debugging. Many modern IDEs have debug support that developers are used to, using Breakpoints, Steps, Call Stack, Watch, Local/Global Variables, etc. Debugging Arduino application is a challenging task as the debugging feature has not been officially supported in Arduino IDE.