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 debug mode not working properly #15969
Comments
same here |
+1 I also tested with latest insiders build: Version: 1.56.0-insider with the extension version:
Edit: But the problem popped up the same time as I upgraded to python 3.9.3-1 To check this I ran the debugpy test suite for that python version: |
Having the same issue, couldn't debug my django application. |
I just realized that Python version 3.9.3 had a major bug: So I built 3.9.4 from source and tested debugging. can anyone else reproduce? |
@yumasheta thanks for the heads up. I downgraded |
@yumasheta @bulletmark can confirm as well. I built the 3.9.4 from source and it works flawlessly. |
Thanks for the response for the community. This is due to a issue with python itself (upgrading to 3.9.4 or downgrading to 3.9.2 should address this.) |
Environment data
python.languageServer
setting: PylanceExpected behaviour
If there are breakpoints or exceptions, when run in debug mode, application should be stopped and taken to breakpoints.
Actual behaviour
When run in debug mode the application doesn't stop where it should.
Steps to reproduce:
launch.json
for the sake of simplicityI set a breakpoint on the first line.
Run file in debug mode.
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)The text was updated successfully, but these errors were encountered: