CMake in Visual Studio Code May 22, 2023 Some notes on CMake extension in vs code. Debug Working Directory Edit .vscode/settings.json under workspace folder, add the following to set debug working directory: { ... "cmake.debugConfig": { "cwd": "${workspaceFolder}/bin/debug" } }