How to start debugging with the extension debug type

nRF Connect for VS Code

tags
nRF Connect for VS Code

The extension comes with the nrf-connect debug type that is meant for debugging applications compatible with the nRF Connect SDK using the Visual Studio Code debugger. There are two default options to start debugging using this debug type:

In either case, the active build configuration is flashed onto the device and the debugging starts. If the build configuration includes several images or domains (contexts), the extension asks you to select the image or domain to debug.

Note

Make sure to enable debugging for the domain you want to debug.

The device does not start running until the debugger is connected.

Tips

For additional information about debugging in Visual Studio Code, read its debugging documentation.