{ "version": "0.2.0", "configurations": [ { "name": "Debug RingBufferTest", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/build/ringbuffer_test", // Adjust path if your build directory is different "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}/build", "environment": [], "externalConsole": false, "MIMode": "gdb", // Or "lldb" if you're on macOS/Linux and prefer lldb "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ], "preLaunchTask": "build_debug" // This task will build your project before debugging } ] }