4

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?

Thanks a lot!

SOLUTION: as pointed out by JialeDu, the last versions of the python extension are no longer compatible with python 3.6. I could have installed an older version of the extension but instead I created a new python environment based on python 3.7.

jyco
  • 53
  • 1
  • 5

1 Answers1

5

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.

JialeDu
  • 6,021
  • 2
  • 5
  • 24