benibenj / vscode-pythonCpp

A Visual Studio Code Debug Extension for debugging mixed Python and C++ code. The extension starts a Python debug session and attaches the C++ debugger to it. This extension is useful for debugging Python programs that call functions from shared libraries (.so/.dll).
Other
47 stars 7 forks source link

Can pythonCpp work on WSL? #24

Open SiyuChen opened 9 months ago

SiyuChen commented 9 months ago

I installed the extension on my WSL, however, breakpoints in C++ do not work.

Has anyone managed to run the extension on WSL? If so, can you please share the launch.json on WSL with me?

Also, I am not sure if this issue is related to https://github.com/microsoft/WSL/issues/10626. Is there anyone who succeeds in doing Python C++ debugging on WSL?