Open theroyn opened 2 years ago
This doesn't seem to be caused by CMake Tools as it uses launch.json
for debugging. I will transfer this to the cpptools repo.
Can you also enable traceResponse
?
E.g.
"logging": {
"engineLogging": true,
"traceResponse": true
},
Brief Issue Summary
Unable to debug on wsl ubuntu any c++ project using remote VSCode gdb
I try to debug perfectly OK executables, which I can manually debug with
gdb
, but trying to debug on VSCode gives the error attached below, in which every executable return right away with exit code 42. Couldn't find anything online about this. The problem reproduces on my machine with the following simple project:Main.cpp
CMakeLists.txt
launch.json
CMake Tools Diagnostics
Debug Log