64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
||
// Use IntelliSense to learn about possible attributes.
|
||
// Hover to view descriptions of existing attributes.
|
||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||
"version": "0.2.0",
|
||
"configurations": [
|
||
{
|
||
"name": "(gdb) 启动",
|
||
"type": "cppdbg",
|
||
"request": "launch",
|
||
"program": "${workspaceFolder}/builddir/gtk108",
|
||
"args": [],
|
||
"stopAtEntry": false,
|
||
"cwd": "${fileDirname}",
|
||
"environment": [],
|
||
"externalConsole": false,
|
||
"preLaunchTask": "Meson: Build target",
|
||
"MIMode": "gdb",
|
||
"setupCommands": [
|
||
{
|
||
"description": "为 gdb 启用整齐打印",
|
||
"text": "-enable-pretty-printing",
|
||
"ignoreFailures": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"name": "(gdb) 启动(win32)",
|
||
"type": "cppdbg",
|
||
"request": "launch",
|
||
"program": "${workspaceFolder}/builddir_win32/gtk108",
|
||
"args": [],
|
||
"stopAtEntry": false,
|
||
"cwd": "${fileDirname}",
|
||
"environment": [],
|
||
"externalConsole": false,
|
||
"preLaunchTask": "Meson: Build target",
|
||
"MIMode": "gdb",
|
||
"setupCommands": [
|
||
{
|
||
"description": "为 gdb 启用整齐打印",
|
||
"text": "-enable-pretty-printing",
|
||
"ignoreFailures": true
|
||
}
|
||
],
|
||
"miDebuggerPath": "D:/msys64/mingw64/bin/gdb.exe"
|
||
},
|
||
{
|
||
"name": "(lldb) 启动",
|
||
"type": "cppdbg",
|
||
"request": "launch",
|
||
"program": "${workspaceFolder}/builddir/gtk108",
|
||
"args": [],
|
||
"stopAtEntry": false,
|
||
"cwd": "${fileDirname}",
|
||
"environment": [],
|
||
"externalConsole": false,
|
||
"preLaunchTask": "Meson: Build target",
|
||
"MIMode": "lldb",
|
||
"setupCommands": []
|
||
}
|
||
]
|
||
}
|