Add VSCode debugging configuration

This commit is contained in:
Dark Steveneq
2025-10-11 20:01:11 +02:00
parent c82b457ccc
commit 7b6e749bca
6 changed files with 37 additions and 84 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

3
.gitignore vendored
View File

@@ -85,4 +85,5 @@ CMakeLists.txt.user*
.vs/ .vs/
out/ out/
.direnv .direnv
CMakeUserPresets.json

34
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,34 @@
{
// 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) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/appqyouradio",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/build",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "CMake: build"
}
]
}

View File

@@ -1,3 +0,0 @@
{
"cmake.sourceDirectory": "/home/dark/qyouradio/qyouradio"
}

View File

@@ -1,22 +0,0 @@
{
"version": 3,
"configurePresets": [
{
"hidden": true,
"name": "Qt",
"cacheVariables": {
"CMAKE_PREFIX_PATH": "$env{QTDIR}"
},
"vendor": {
"qt-project.org/Qt": {
"checksum": "wVa86FgEkvdCTVp1/nxvrkaemJc="
}
}
}
],
"vendor": {
"qt-project.org/Presets": {
"checksum": "67SmY24ZeVbebyKD0fGfIzb/bGI="
}
}
}

View File

@@ -1,58 +0,0 @@
{
"version": 3,
"configurePresets": [
{
"name": "Qt-Debug",
"inherits": "Qt-Default",
"binaryDir": "${sourceDir}/out/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-DQT_QML_DEBUG"
},
"environment": {
"QML_DEBUG_ARGS": "-qmljsdebugger=file:{3f7e14e5-0b0a-40bd-b3c6-76458ce37860},block"
}
},
{
"name": "Qt-Release",
"inherits": "Qt-Default",
"binaryDir": "${sourceDir}/out/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"hidden": true,
"name": "Qt-Default",
"inherits": "Qt 6.10",
"vendor": {
"qt-project.org/Default": {
"checksum": "v3ctz+mzI1f1qLo6LWnqM6tW8Wg="
}
}
},
{
"hidden": true,
"name": "Qt 6.10",
"inherits": "Qt",
"environment": {
"QTDIR": "C:/Users/ghostfox.LAMINAX/6.10.0/msvc2022_64"
},
"architecture": {
"strategy": "external",
"value": "x64"
},
"generator": "Ninja",
"vendor": {
"qt-project.org/Version": {
"checksum": "Xah8ShjeYPy6fpnjykj3JE6nE0A="
}
}
}
],
"vendor": {
"qt-project.org/Presets": {
"checksum": "AdCzqFTjZpvbc3nsDUfPr+pX6io="
}
}
}