xcmd/.vscode/launch.json

48 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2021-09-06 14:50:38 +08:00
{
// 使用 IntelliSense 了解相关属性。
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "debug qemu",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/example/stm32/qemu/demos/main/main.elf",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/arm-none-eabi-gdb",
"miDebuggerServerAddress": "localhost:3333",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
2021-09-06 14:50:38 +08:00
{
2021-09-12 18:01:02 +08:00
"name": "(gdb) 启动",
2021-09-06 14:50:38 +08:00
"type": "cppdbg",
"request": "launch",
2021-09-12 18:01:02 +08:00
"program": "${workspaceFolder}/example/linux/xcmder",
2021-09-06 14:50:38 +08:00
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
2021-09-12 18:01:02 +08:00
]
2021-09-06 14:50:38 +08:00
}
]
}