Add debug for sdl2 gpu

This commit is contained in:
Joey Yakimowich-Payne 2020-04-26 16:06:32 -06:00
commit 1a32967fae
3 changed files with 18 additions and 3 deletions

14
.vscode/launch.json vendored
View file

@ -39,6 +39,20 @@
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceFolder}\\nim-gdb.bat",
}
},
{
"name": "Nim Debug SDL2 GPU",
"type": "gdb",
"request": "launch",
"valuesFormatting": "parseText",
"target": "${workspaceFolder}/build/demosdl2/demo_sdl2_gpu_debug",
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceFolder}/nim-gdb.bash",
"windows": {
"target": "${workspaceFolder}\\build\\demosdl2\\demo_sdl2_gpu_debug.exe",
"cwd": "${workspaceRoot}",
"gdbpath": "${workspaceFolder}\\nim-gdb.bat",
}
}
]
}