This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/SoftwareDesign/Code/.vscode/launch.json
2022-03-12 12:31:33 +08:00

26 lines
No EOL
1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"version": "0.2.0",
"configurations": [
{
"name": "gdb",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": true, // 设为true时程序将暂停在程序入口处我一般设置为true
"cwd": "C:/Project/LLVM/bin",//自己的编译器路径,自行修改
"environment": [],
"externalConsole": false, // 调试时是否显示控制台窗口一般设置为true显示控制台
"MIMode": "gdb",
"miDebuggerPath": "C:\\Project\\LLVM\\bin\\gdb.exe",//自己的gdb路径自行修改
"setupCommands": [
{
"description": "gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Compile"//可以随意更改保证与tasks.json的label相同
}
]
}