How to customize launch and debug configurations

nRF Connect for VS Code

tags
nRF Connect for VS Code

You can customize and bind specific actions when launching the debugger in VS Code, similarly to the build and flash task configuration.

To tweak the debugging configuration for your specific setup, open and edit a launch.json file. This allows you to launch the debugger with custom debugging setup, including:

You can read more about the general uses of launch configurations in Visual Studio Code's launch configuration documentation.

There are two ways to open a launch.json file and start adding custom debugging configurations.