Debugging overview

nRF Connect for VS Code

tags
nRF Connect for VS Code

The nRF Connect for VS Code extension provides a custom nrf-connect debug type to help troubleshoot problems. The debug type is integrated with the Visual Studio Code debugger and is meant for the nRF Connect SDK applications. It is based on Microsoft's debug adapter and it allows you to analyze the threads, memory, and peripherals of your application.

Note

The features listed on this page require you to manually enable debugging options. If you start debugging without enabling these options, the debugger will start without the features provided by the nrf-connect debug type.

The debug type comes with the following features:

  • Dedicated nRF Debug panel in the Panel View with sections dedicated to thread and memory analysis (Thread Viewer and Memory Explorer, respectively).
  • Dedicated Peripherals View in the Debug Sidebar.
  • Dedicated settings, such as nrf-connect.debugging.justMyCode.
  • Customizable launch and debug actions (see the dedicated guide for more information).
  • Integration with applications that are based on the nRF Connect SDK.