mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
34 lines
1.1 KiB
JSON
34 lines
1.1 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "PX4 posix-configs/rpi/px4.config",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${command:cmake.launchTargetPath}",
|
|
"args": [
|
|
"-s", "../../posix-configs/rpi/px4.config"
|
|
],
|
|
"stopAtEntry": false,
|
|
"cwd": "${command:cmake.buildDirectory}",
|
|
"externalConsole": false,
|
|
"linux": {
|
|
"MIMode": "gdb",
|
|
"externalConsole": false,
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "PX4 ignore wq signals",
|
|
"text": "handle SIGCONT nostop noprint nopass",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
]
|
|
}
|