-
Notifications
You must be signed in to change notification settings - Fork 304
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
Unable to get Python Debugger to work for pytest targets #5146
Comments
Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs or one of the following labels is added: "not stale", "awaiting-maintainer". Please reach out to the triage team ( |
This issue has been automatically closed due to inactivity. If you're still interested in pursuing this, please post |
@bazelbuild/triage |
@sgowroji I saw you labeled this as a Pycharm issue, but it's actually an IntelliJ issue as far as I can tell, since only IntelliJ supports the Bazel plugin. It's still an issue for us, unfortunately.. |
@jackwellsxyz could you please try PyCharm 2024.2.2 and newest rules_python? |
Description of the bug:
I am unable to get the PyCharm debugger working for any Python tests with Bazel using the common
rules_python
rules or with some of the other implementations. In all of these cases I can still "Run" the tests successfully inside the IDE. But using "Debug" does not.In
rules_python
, the debugger hangs. With the others, I get errors from_pydev_execfile.py
.I'm not sure which, if any, are related to the plugin. But given some of the errors come from the PyCharm code itself, I figured it makes sense to start here.
I put the errors alongside the reproduction steps in the README of my example repo.
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I created a minimal reproduction in this repo: https://github.com/vinnybod/bazel_py_example
The README has instructions for reproducing the errors in each submodule.
Which Intellij IDE are you using? Please provide the specific version.
PyCharm 2023.1.4
What programming languages and tools are you using? Please provide specific versions.
Python
What Bazel plugin version are you using?
2023.07.04.0.1-api-version-231
Have you found anything relevant by searching the web?
I tried implementing #4745 , but it made no difference. I don't think its the same issue.
I also saw #2093 but it seems to be a different problem.
Any other information, logs, or outputs that you want to share?
I put steps to reproduce and the errors I was seeing in the example repo: https://github.com/vinnybod/bazel_py_example
The text was updated successfully, but these errors were encountered: