vscode add navio2 variant and native debug launch

This commit is contained in:
Daniel Agar
2020-11-09 17:49:50 -05:00
parent 1965cd38ba
commit 38fbb452da
4 changed files with 48 additions and 7 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"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
}
]
}
},
]
}