【发布时间】:2021-05-29 03:36:05
【问题描述】:
{
"workbench.colorTheme": "Default Dark+"
}
{ }
"name": "C++ Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/a.out",
"stopAtEntry": false,
"customLaunchSetupCommands": [
{ "text": "target-run", "description": "run target", "ignoreFailures": false }
],
"launchCompleteCommand": "exec-run",
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb"
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
}
}
【问题讨论】:
-
顺便说一句。为什么你的 json 中有 { } 而最后一个 } 根本没有 {。
标签: c++ json visual-studio-code