Debug Console

nRF Connect for VS Code

tags
nRF Connect for VS Code

The standard Visual Studio Code Debug Console displays commands, responses, and events exchanged with the nrf-debug debug type adapter. It also reports when the extension starts west debugserver and launches or attaches GDB.

Debug Console

Set nrf-connect.debugging.logging to Verbose to include communication with GDB and output from the debug server. Verbose messages use prefixes that identify their source, including [mi] for GDB/MI and [ds] for the debug server.

You can enter GDB console commands directly into the input field. For example, info registers in the following image prints the list of registers for the processor that you are debugging.

info registers command in the Debug Console

For a reference of available GDB commands, see for example GDB Command Reference.