{ "version": "0.2.0", "configurations": [ { "name": "Debug Run Debug", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/debug/cub3D", // Replace with your executable path "args": ["maps/invalid/test.cub"], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": false, "MIMode": "gdb", "miDebuggerPath": "/usr/bin/gdb", // Adjust if gdb is in a different location "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "Debug" }, ] }