I build my C++ code with CMake tools without any problem. However, when I try to debug the code, it output this:
[build] Starting build
[proc] Executing command: /usr/local/bin/cmake --build /home/myname/build --config Debug --target CUDA_test -- -j 42
[build] ninja: no work to do.
[build] Build finished with exit code 0
[debugger] Unable to automatically determine debugger corresponding to compiler: {}
[main] Failed to generate debugger configuration
If I use the "CMake: run without debugging" option, then everything works as expected. So I guess the link to the debugger is broken?
[debugger] Unable to automatically determine debugger corresponding to compiler: {}I used to run the process without problem. But then I install Anaconda for Python development(and maybe other processes), and now I can't use CMake debug.
Sorry for such a beginner question, but I can't seems to find a similar question online.
Thank you in advance!
Most helpful comment
duplicate of https://github.com/microsoft/vscode-cmake-tools/issues/884