Questions about debugging
This is what's inside my launch.json file { version "0.2.0". "configurations": [ { "name": "launch!" , "type": "cppdbg", "request": "startup", "program": "${fileDirname}/${fileBasenameNoExtension}", "args": [],. "stopAtEntry": false, "cwd": "${fileDirname}", "environment": [],. "externalConsole": true, "MIMode": "lldb", "preLaunchTask": "C/C++: clang++ Generate active file", "miDebuggerPath": "/usr/bin/lldb". }, .
] } The path to lldb is correct But why is it always Cannot start debugging. The startup option string provided by the project system is invalid. The path to the debugger could not be determined. Please specify the "MIDebuggerPath" option.
Translated with DeepL.com (free version)
Hi, do you have gdb installed?