add debug task that does not regenerate the makefile

This commit is contained in:
Jeffery Myers
2025-12-11 09:52:03 -08:00
parent 31630dded8
commit 75d4e7fc9f
2 changed files with 52 additions and 1 deletions

33
.vscode/launch.json vendored
View File

@@ -36,7 +36,38 @@
"preLaunchTask": "build debug" "preLaunchTask": "build debug"
}, },
{ {
"name": "Run", "name": "Debug NoPremake",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": false
}
],
"windows": {
"miDebuggerPath": "gdb.exe",
},
"osx": {
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}",
"MIMode": "lldb"
},
"linux": {
"program": "${workspaceFolder}/bin/Debug/${workspaceFolderBasename}",
"miDebuggerPath": "/usr/bin/gdb",
},
"preLaunchTask": "build debug no premake"
},
{
"name": "Run Release",
"type": "cppdbg", "type": "cppdbg",
"request": "launch", "request": "launch",
"args": [], "args": [],

20
.vscode/tasks.json vendored
View File

@@ -24,6 +24,26 @@
], ],
"dependsOn":["UpdateMake"] "dependsOn":["UpdateMake"]
}, },
{
"label": "build debug no premake",
"type": "process",
"command": "make",
"windows": {
"command": "mingw32-make.exe",
},
"osx": {
"args": [
"config=debug_arm64"
],
},
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": [
"$gcc"
]
},
{ {
"label": "build release", "label": "build release",
"type": "process", "type": "process",