You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
935 B
28 lines
935 B
6 years ago
|
{
|
||
|
// 使用 IntelliSense 了解相关属性。
|
||
|
// 悬停以查看现有属性的描述。
|
||
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
||
|
"version": "0.2.0",
|
||
|
"configurations": [
|
||
|
{
|
||
|
"name": "(gdb) Launch",
|
||
|
"type": "cppdbg",
|
||
|
"request": "launch",
|
||
|
"program": "enter program name, for example ${workspaceFolder}/a.exe",
|
||
|
"args": [],
|
||
|
"stopAtEntry": false,
|
||
|
"cwd": "${workspaceFolder}",
|
||
|
"environment": [],
|
||
|
"externalConsole": true,
|
||
|
"MIMode": "gdb",
|
||
|
"miDebuggerPath": "/path/to/gdb",
|
||
|
"setupCommands": [
|
||
|
{
|
||
|
"description": "Enable pretty-printing for gdb",
|
||
|
"text": "-enable-pretty-printing",
|
||
|
"ignoreFailures": true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|