stm32g0xx/.vscode/launch.json

58 lines
2.0 KiB
JSON
Raw Normal View History

{
"version": "0.2.0",
"configurations": [
{
"name": "gdb Launch Debug",
"type": "cppdbg",
"request": "launch",
"args": [],
2022-12-15 09:18:35 +00:00
"program": "${workspaceFolder}/build/firmware.elf",
"stopAtEntry": true,
"cwd": "${workspaceRoot}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
2022-11-16 09:02:47 +00:00
"miDebuggerPath": "arm-none-eabi-gdb",
"debugServerPath": "openocd",
"debugServerArgs": "-f ${workspaceRoot}/openocd.cfg",
"serverLaunchTimeout": 20000,
"filterStderr": true,
"filterStdout": false,
"serverStarted": "Info : Listening on port 3333 for gdb connections",
"sourceFileMap": {
"${workspaceRoot}":"${workspaceFolder}"
},
"logging": {
"engineLogging": true,
"exceptions": true,
"moduleLoad": true,
"programOutput": true,
"trace": true,
"traceResponse": true
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb.",
"text": "-enable-pretty-printing",
"ignoreFailures": false
},
{
"description": "Connect to gdb server.",
"text": "target remote localhost:3333",
"ignoreFailures": false
},
{
"description": "Load executable into debugger.",
2022-12-15 09:18:35 +00:00
"text": "file ${workspaceFolder}/build/firmware.elf",
"ignoreFailures": false
},
{
"description": "Load executable to target",
"text": "load",
"ignoreFailures": false
}
]
}
]
}