Add VS Code build, launch, and IntelliSense configuration

This commit is contained in:
bart
2026-11-08 17:12:35 +01:00
parent abfac333eb
commit df6eac62ca
3 changed files with 132 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug tiletest",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tiletest",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Build"
},
{
"name": "Run tiletest (without debugging)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/tiletest",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb",
"preLaunchTask": "Build"
}
]
}