Skip to content

Instantly share code, notes, and snippets.

Last active March 26, 2022 18:30
What would you like to do?
Raspberry Pi Pico Visual Studio Code debugger launch.json file
"version": "0.2.0",
"configurations": [
{ "name": "Pico Debug",
"device": "RP2040",
"gdbPath": "arm-none-eabi-gdb",
"cwd": "${workspaceRoot}",
"executable": "${command:cmake.launchTargetPath}",
"request": "launch",
"type": "cortex-debug",
"servertype": "openocd",
"configFiles": [
"svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",
"runToMain": true,
"postRestartCommands": [
"break main",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment