-
Notifications
You must be signed in to change notification settings - Fork 307
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
Cannot debug Python code in PyCharm #2093
Comments
An older PyCharm bug indicated that switching on I tried turning this off and then the debugger says that it cannot debug because the main process has a subprocess. |
I'm experiencing this the issue as well and would love to hear if there's a possible workaround. I cross posted on the Bazel slack as well. |
I have to manually update pydevd. Explanation here: #402 |
See this comment for a fix with latest bazel version and latest intellij: #402 (comment) |
Has there been any progress on this issue? I'm in 2022 on PyCharm 2022.2 and Bazel plugin 2022.08.09.0.1-api-version-222, but debugging doesn't work either UPD: I had a closer look at the output, turns out, I updated PyCharm after I got the first error (as in the topic description), and when I got an error after the update, I assumed it was the same. But it isn't. Here's what I am getting now:
I'm on MacOS 12.4, java 17.0.1 2021-10-19 LTS, Runtime version: 17.0.3+7-b469.32 aarch64 Is there anything I can do to fix this? |
Hey @therearesomewhocallmetim, debugging works for me, despite the error you mentioned (I get it, too) |
Closing, as this is likely to be fixed, please fill free to reopen if it still doesn't work for you |
Description
Currently, it's impossible to debug
py_binary
/py_test
in PyCharm; this is a sample exception message:What's curious is that with every debug rerun it's having a different stack trace (
KeyboardInterrupt
is always the last element)Reproducible example
BUILD
:test.py
:Configuration
OS: Ubuntu 20.04
PyCharm version:
pycharm-community (2020.1/stable)
; installed via SnapPython: 3.8.2
Plugin version: reproduced both on latest released version (
2020.07.13.0.2
) and one built from latestmaster
(commit sha43c4949a35bcde233c2f1b9bd2c6ecfdfa93acb6
)The text was updated successfully, but these errors were encountered: