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

use Python Remote Attach configuration #26

Open dnik2000 opened 7 months ago

dnik2000 commented 7 months ago

Is there a way to use extension with Python Remote Attach configuration? I want to run python -m debugpy --listen 5678 --wait-for-client mypythonapp.py on local machine, than attach to python debugger from VSCode. Debugpy accepts connection and stops now. Looks like GDB pauses python after connection, but VSCode lost control on GDB