VS Code's Python debugger is not stopping at breakpoints. The issue began after modifying the launch.json
file, notably the "
OS: macOS Monterey 13.1
OS: Darwin arm64 22.2.0
This revised summary integrates the added information and is ready for submission.
What I have tried:
The debugger was functioning as expected before.
Editing the launch.json
file seems to have triggered the issue.
The problem persists even on simple Python scripts.
Steps Taken to Resolve the Issue:
" is set to
Deleted and recreated launch.json
Verified the file being debugged is a valid Python script.
Checked breakpoint placements.
Ensured the chosen debugger configuration is "
Python: Current File
Reset all Python-related settings in VS Code to default.
Checked the Python interpreter in use by VS Code.
Created a new VS Code workspace and attempted debugging in a fresh environment.
Examined the .vscode
directories and their potential effect.
Reinstalled the Python extension for VS Code.
Successfully debugged outside of VS Code using pdb.
Despite these measures, the debugger continues to bypass breakpoints. Your assistance or further troubleshooting steps would be invaluable.
- Has anyone else had this problem?
- Is there anything else I can try?
Note: As usual, ChatGPT is of no help, same as bard.