Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

python debugger ignores breakpoints?

Open
#1,593 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

Start with the linked discussion and reproduce the report using the shown launch.json, Python 3.11.9, a notebook cell, and breakpoints including the working line 93. Trace the debug-cell entry point and breakpoint handling to determine why some breakpoints are ignored. Done means the cause is isolated and the behavior is fixed or the required configuration is documented.

Written by the indexing model from the issue text.

Description

bug notebook
Discussed in https://github.com/microsoft/vscode-python/discussions/23522

I have made a cell and marked some break points:

image

However, when I click 'debug cell', the debugger just executes the cell, ignoring the break points?

The behavior is erratic. This is a few lines earlier in the same file:

image

Here the breakpoint at l. 93 works, but all else is ignored.

My launch.json looks like this:

{
// 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": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": false,
"noDebug": false, }
]
}

My python version is 3.11.9.

What am I doing wrong?

Dominant language
Python
Stars
2.5k
Forks
202
Avg merge
5d 1h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/debugpy

All issues in microsoft/debugpy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.