{ "version": "0.2.0", "configurations": [ { "name": "Debug Engine", "type": "cppvsdbg", "request": "launch", "program": "${workspaceFolder}/build/engine/Debug/engine.exe", // Path to your executable "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, "preLaunchTask": "build engine", // This will run the "build engine" task before launching "miDebuggerPath": "C:/mingw-w64/bin/gdb.exe", // Specify the correct path to your debugger "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] } ] }