-
Notifications
You must be signed in to change notification settings - Fork 5
/
launch.json
36 lines (36 loc) · 1.24 KB
/
launch.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"version": "0.2.0",
"configurations": [
{
"name": "debug st_demo",
"type": "cppdbg",
"request": "launch",
"program": "./bin/unit_tests", /*运行编译二进制,请按实际配置*/
"args": [],
"stopAtEntry": true,
"cwd": "${command:remotessh.remoteworkspace}/build",
"externalConsole": true,
"MIMode": "gdb",
"pipeTransport": {
"pipeCwd": "",
"pipeProgram": "${command:remotessh.sshclientpath}",
"pipeArgs": [
"-p",
"${command:remotessh.remoteport}",
"${command:remotessh.remoteuser}@${command:remotessh.remoteip}"
],
"debuggerPath": "/usr/bin/gdb"
},
"sourceFileMap": {
"${command:remotessh.remoteworkspace}": "${workspaceRoot}"
},
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
}
]
}