0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 12:51:58 +00:00
OI-codes/.vscode/launch.json

52 lines
1.7 KiB
JSON
Raw Normal View History

2020-09-26 11:38:38 +00:00
{
2020-10-04 07:26:53 +00:00
// 使用 IntelliSense 了解相关属性。
2020-09-26 11:38:38 +00:00
// 悬停以查看现有属性的描述。
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
2020-10-04 07:26:53 +00:00
{
"name": "[Linux] C++ Launch (GDB)",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "build"
},
2020-09-26 11:38:38 +00:00
{
2020-10-04 07:26:53 +00:00
"name": "[Windows] C++ Launch (GDB)",
2020-09-26 11:38:38 +00:00
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "C:\\Program Files\\mingw-w64\\x86_64-8.1.0-win32-seh-rt_v6-rev0\\mingw64\\bin\\gdb.exe",
"setupCommands": [
{
"description": "为 gdb 启用整齐打印",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
2020-10-04 07:26:53 +00:00
"preLaunchTask": "build"
2020-09-26 11:38:38 +00:00
}
]
2020-10-04 07:26:53 +00:00
}