mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-23 21:12:46 +08:00
35 lines
841 B
JSON
35 lines
841 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "开始Debug",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/chsrc-debug",
|
|
"args": [
|
|
"get",
|
|
"python"
|
|
],
|
|
"preLaunchTask": "构建 debug 版 chsrc",
|
|
"stopAtEntry": true,
|
|
"cwd": "${fileDirname}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "gdb",
|
|
// "miDebuggerPath": "/path/to/gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
},
|
|
{
|
|
"description": "Set Disassembly Flavor to Intel",
|
|
"text": "-gdb-set disassembly-flavor intel",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|