59 lines
1.9 KiB
JSON
59 lines
1.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Qt6",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"targetArchitecture": "arm64",
|
|
"program": "${fileDirname}/${fileBasenameNoExtension}",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": false,
|
|
"cwd": "${fileDirname}",
|
|
"environment": [
|
|
{
|
|
"name": "DYLD_LIBRARY_PATH",
|
|
"value": "/opt/homebrew/opt/qt/lib"
|
|
}
|
|
],
|
|
"MIMode": "lldb",
|
|
"internalConsoleOptions": "openOnSessionStart"
|
|
},
|
|
{
|
|
"name": "Debug Qt6 on Windows",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"targetArchitecture": "x86_64",
|
|
"program": "${fileDirname}/${fileBasenameNoExtension}.exe",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": false,
|
|
"cwd": "${fileDirname}",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "${env:SCOOP}\\apps\\msys2-cn\\current\\ucrt64\\bin\\gdb.exe",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "C/C++: clang++ build and debug active file",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"program": "${fileDirname}/${fileBasenameNoExtension}",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${fileDirname}",
|
|
"environment": [],
|
|
"externalConsole": false,
|
|
"MIMode": "lldb",
|
|
"preLaunchTask": "Build Qt6"
|
|
}
|
|
]
|
|
}
|