VSCode Debugger stops suddenly (Python)

Viewed 2476

after installing Windows updates today, debugging is not working anymore.

This is my active debug configuration:

"launch": {
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
  {
    "name": "DEBUG CURR",
    "type": "python",
    "request": "launch",
    "program": "${file}",
    "console": "internalConsole",
    "justMyCode": false,
    "stopOnEntry": false,
  }...

When I start the debugger, the menu pops up briefly for 1-2 seconds. But then it closes. There is no output in the console.

It does not stop at set breakpoints.

Does anybody have the same problem? Is there a solution?

Thanks!

System settings


OS: Microsoft Windows 10 Enterprise (10.0.17763 Build 17763) VSCode version 1.64.0 Python version: 3.8.11 (in the active Anaconda Environment)

Installed VSCode extensions:

  • Python (Microsoft) version: v2022.0.1786462952
  • Pylance (Microsoft) version: v2022.2.0
1 Answers

It's an issue with the latest Python Extension for VSCode.

Downgrading the python extension to v2021.12.1559732655 fixes the problem.

enter image description here

Related