Files
pico-examples/ide/vscode/launch-remote-openocd.json
graham sanderson 46078742c7 Initial Release
2021-01-20 16:45:01 -06:00

24 lines
831 B
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Pico Debug",
"type":"cortex-debug",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"servertype": "external",
// This may need to be arm-none-eabi-gdb depending on your system
"gdbpath" : "gdb-multiarch",
// Connect to an already running OpenOCD instance
"gdbTarget": "your-openocd:3333",
"svdFile": "/home/liam/pico/pico-sdk/src/rp2040/hardware_regs/rp2040.svd",
"runToMain": true,
// Work around for stopping at main on restart
"postRestartCommands": [
"break main",
"continue"
]
}
]
}