Skip to content
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 debugging with gunicorn doesn't work #3090

Open
etanshaul opened this issue Aug 12, 2022 · 1 comment
Open

Python debugging with gunicorn doesn't work #3090

etanshaul opened this issue Aug 12, 2022 · 1 comment

Comments

@etanshaul
Copy link
Contributor

User reported from Slack:

Hey! Using the Cloud Code IntelliJ extension in PyCharm to try and get skaffold pydev working in IDE. It brings up my services, connects the pydev debugger just fine, etc. However, hitting any kind of exception does not appear to actually invoke the debugger, nor does setting any breakpoints. I have my mappings set up correctly, best I can tell, and I can pause the program just fine. Any further debugging tips here? Using gunicorn, as well, if relevant!

See thread for more details.

@ivanporty
Copy link
Contributor

More from slack:

The problem is that pydevd doesn't ship with darwin arm64 .dylib
fabioz/PyDev.Debugger#200

There's a hint that FabioZ would accept patches to enable compilation for the CI system, but I don't have bandwidth to even try fabioz/PyDev.Debugger#201 (comment)
GitHubGitHub
Can't attach debugger on native arm64 macOS machines · Issue #200 · fabioz/PyDev.Debugger

Trying to attach a debugger on native arm64 macOS fails due to pydevd_tracing.py trying to load the x86_64 version of the attach dylib. I get the following error: Traceback (most recent call last):... (56 kB)
fabioz/PyDev.Debugger#200

GitHubGitHub
Add support for attaching to native arm64 on macOS by CCP-Lease · Pull Request #201 · fabioz/PyDev.Debugger
This is a fix for #200 (507 kB)
fabioz/PyDev.Debugger#201 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@etanshaul @ivanporty and others