I have the launch.json as shown below so that I can attach the debugger to a running image. This works with Cortex Debug. However, when using nRF Debug it does not seem to have any effect. How is attach supported with the new nRF Debug?
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: go.microsoft.com/.../
"version": "0.2.0",
"configurations": [
{
"type": "nrf-connect",
"request": "launch",
"name": "Launch active build configuration",
"config": "${activeConfig}",
"runToEntryPoint": "main"
},
{
"type": "nrf-connect",
"request": "attach",
"name": "Attach Vulcan Release",
"postAttachCommands": [
"symbol-file /Users/denis/sandbox/pison/vulcan-firmware/applications/vulcan/build/zephyr/zephyr.elf"
],
"showDevDebugOutput": true,
"config": ""
},
{
"name": "Launch build",
"type": "nrf-connect",
"request": "launch",
"config": "/Users/denis/sandbox/pison/vulcan-firmware/applications/vulcan/build",
"runToEntryPoint": "main"
}
]
}