Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode Python debugger stopped launching

I'm using VSCode v1.69.0. My OS is MacOS v10.15.7 (Catalina).

I have a Python code that I'm usually debugging with VSCode Python debugger (using the launch.json file).

For no apparent reason the debugger recently stopped working, i.e. when I click on "Run Debug", the debug icons (stop, resume, step over etc.) show up for 1 second, then disappear and nothing else happens. There is no error message in the terminal or anything (no command is launched apparently).

I tried to uninstall VSCode and reinstall it => no success. I deleted the Python extension in /userprofile/.vscode/extensions and then reinstalled it (both the current v2022.10.1 and pre-release v2022.11.12011103) => no success.

The python program runs properly on another IDE.

Any idea?

like image 633
jyco Avatar asked Oct 16 '25 10:10

jyco


1 Answers

If you are using python3.6 version then latest version of debugger no longer supports it.

You can use the historical version 2022.08.*. Or use a new python version.

like image 98
JialeDu Avatar answered Oct 19 '25 04:10

JialeDu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!