Files
EnergyMonitor_Pico/.vscode/launch.json
2021-05-16 14:11:22 +02:00

22 lines
706 B
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Pico Debug",
"type":"cortex-debug",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"servertype": "external",
// Connect to an already running OpenOCD instance
"gdbTarget": "10.0.2.129:3333",
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"runToMain": true,
// Work around for stopping at main on restart
"postRestartCommands": [
"break main",
"continue"
]
}
]
}