Skip to content

VS Code Not Pausing on Breakpoints in Python After Update #15959

@DenverCoder1

Description

@DenverCoder1

I've been using debugging in Python for several months with no issues, but today it suddenly stopped working after updating VS Code.

Environment data

  • VS Code version: 1.55.2
  • Extension version: v2021.3.680753044
  • OS and version: Linux x64 5.11.13-arch1-1
  • Python version: 3.9.3
  • Type of virtual environment used: venv but also with no virtual environment
  • Value of the python.languageServer setting: Pylance but same issue with all

Expected behaviour

Debugger should stop on breakpoints and raised exceptions

Actual behaviour

Debugger skips all breakpoints and crashes on raised exceptions

Steps to reproduce:

  1. Create a simple module with breakpoints
  2. Launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Python: Module",
      "type": "python",
      "request": "launch",
      "module": "bot"
    }
  ]
}
  1. Run Python module with F5 / debugger
Screen recording

Peek 2021-04-15 02-30

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions