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

Allow the reverse too! #6

Closed aniongithub closed 2 years ago

aniongithub commented 2 years ago

Please consider the possibility of reversing the debuggers to launch a native application and then attach a python debugger to that process, based on some value in launch.json. This is useful when the entry point is a native application that calls into Python via PyBind or Cython.

Thanks for this extension!

benibenj commented 2 years ago

Thank you for your input, however, I'm currently not planning on adding this feature.