-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Debugger Should Support debugpy and ptvsd #4437
Comments
Needs to be coordinated with GoogleContainerTools/container-debug-support |
Let me know if I need to file this ticket somewhere else or notify anyone |
Will get to this in August. |
Any update @briandealwis ? |
@briandealwis looks like this should be closed now? |
Not yet: I've added debugpy to the duct-tape images (still needs to be regenerated), but I need to fix |
Thank you all. Let me know how I can follow the relevant release for this. |
It looks like we can rewrite |
Expected behavior
Currently
ptvsd
is the only DAP supported byskaffold
for python apps. Microsoft is deprecatingptvsd
fordebugpy
-- debugpy link.debugpy
has a lot of the bug fixes revolving around debugging multiprocess python applications thatptvsd
does not have (the press release is here).skaffold
should consider making the debug package configurable or converting over todebugpy
exclusively once it gets out of beta (or even now for that matter).In the meantime, I will be inserting the command arguments manually in order to use
debugpy
locally and specifying a debug port in the portForwarding section (replacingskaffold debug
for now with a manual process -- e.g."-m", "debugpy", "--listen", "0.0.0.0:5000",...
).The text was updated successfully, but these errors were encountered: