Setting "justMyCode": false makes it stop at breakpoint:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Python: Debug Current File",
            "type": "python",
            "request": "launch",
            "program": "${file}",
            "console": "integratedTerminal",
            "stopOnEntry": true,
            "justMyCode": false
        },
    ]
}
Answer from Ashish on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode › issues › 120586
Debugger does not stop on breakpoints (python. VS code) · Issue #120586 · microsoft/vscode
April 5, 2021 - Whenever I try to add breakpoints to my python files, it marks it in the GUI as a breakpoint (red circle), but ignores them as if I never included them at all. The debugger just goes right over them without stopping. As a test I created ...
Author   PlanckBrain
🌐
GitHub
github.com › microsoft › vscode-python › issues › 12593
Breakpoints not hit. · Issue #12593 · microsoft/vscode-python
June 26, 2020 - Issue Type: Bug I have a simple file parser in python and input text file. When I place a breakpoint at any line in the soure, the break point is not being hit. I set the break point at line pointed to here. Or at any line for that matte...
Author   sachinmyneni
Discussions

Debugger not hitting breakpoint when using a virtual environment
Python extension for Visual Studio Code. Contribute to microsoft/vscode-python development by creating an account on GitHub. More on github.com
🌐 github.com
20
November 13, 2017
Breakpoints are not hitting in VS Code while debugging Python Flask app
I'm new to Python Flask development and VS Code. I've been trying to create an app by referring the below tutorials. https://code.visualstudio.com/docs/python/tutorial-flask More on github.com
🌐 github.com
6
February 12, 2019
Debugging inside a container: debugger does not hit breakpoints anymore
Type: Bug Behaviour Expected vs. Actual Context: Debugging code inside a container Expected: breakpoint are hit when code is executed. Actual: breakpoints are not hit, and when the debug session th... More on github.com
🌐 github.com
35
December 12, 2022
Breakpoints not showing in the editor
@luabud commented on Wed Mar 27 2019 Environment data PTVSD version: 0.2.0 OS and version: Windows 10 Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 (global) Using VS Code ... More on github.com
🌐 github.com
1
March 27, 2019
🌐
GitHub
github.com › microsoft › vscode-python › issues › 109
Debugger not hitting breakpoint when using a virtual ...
November 13, 2017 - VS Code version: 1.11.2 Python Extension version: 0.6.3 Python Version: 3.6.0 OS and version: MacOS X 10.11.6 · Debugger runs and output is written to Debug Console, but breakpoints are not hit.
Author   DonJayamanne
🌐
GitHub
github.com › microsoft › vscode-python › issues › 4355
Breakpoints are not hitting in VS Code while debugging Python Flask app · Issue #4355 · microsoft/vscode-python
February 12, 2019 - Environment: VS Code 1.31.0 Python Extension - 2019.1.0 (29 Jan 2019) Python Version 3.7.1 64-bit Flask Version 1.0.2 Windows 10
Author   iamshivprasad
🌐
Donjayamanne
donjayamanne.github.io › pythonVSCodeDocs › docs › troubleshooting_debugger
Debugger | Python in Visual Studio Code
Unfortunately there could be a number of reasons why the debugger isn’t working. For instance it is possible VS Code is displaying some errors that could provide a hint. Look at the debugger console for any error messages displayed. Look at the Debugger Tools console output for any errors ...
🌐
GitHub
github.com › microsoft › vscode-python › issues › 20407
Debugging inside a container: debugger does not hit breakpoints anymore · Issue #20407 · microsoft/vscode-python
December 12, 2022 - Type: Bug Behaviour Expected vs. Actual Context: Debugging code inside a container Expected: breakpoint are hit when code is executed. Actual: breakpoints are not hit, and when the debug session the Debug Console shows: pydev debugger: u...
Author   wasphub
Find elsewhere
🌐
GitHub
github.com › microsoft › vscode-python › issues › 4975
Breakpoints not showing in the editor · Issue #4975 · microsoft/vscode-python
March 27, 2019 - Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 (global) ... I added breakpoints by clicking on the margin of the editor and they show up in the Breakpoints window, but not in the editor
Author   karthiknadig
🌐
GitHub
github.com › microsoft › vscode-python › issues › 1940
Python extension does not stop at breakpoints · Issue #1940 · microsoft/vscode-python
June 12, 2018 - From @shortjonescipher on June 12, 2018 7:39 Issue Type: Bug On any Python script, such as 'print("hello world")', the debugger does not stop on any enabled breakpoints, but runs the script until it terminates. The debug configuration is...
Author   RMacfarlane
🌐
GitHub
github.com › microsoft › vscode-python › issues › 4844
Debugger Doesn't Stop At Breakpoints · Issue #4844 · microsoft/vscode-python
March 20, 2019 - The code simply continues running as if the breakpoint wasn't there at all ... Open the .vscode/settings.json file and change the "python.pythonPath": variable from the previously selected interpretter to be .\\Scripts\\python.exe
Author   primalewden
🌐
GitHub
github.com › microsoft › debugpy › issues › 1596
VSCode python debugger does not go inside the third party library code even with justmycode set to false on 1.90 VS code · Issue #1596 · microsoft/debugpy
June 7, 2024 - VSCode python debugger does not go inside the third party library code even with justmycode set to false on 1.90 VS code#1596 ... This was working fine till I got a message in my python extension that I should restart it. After that it has stopped working. ... { "version": "0.2.0", "configurations": [ { "name": "File", "type": "debugpy", "request": "launch", "program": "${file}", "console": "integratedTerminal", "justMyCode": false } ] } debug point at data = yaml.safe_load(f) I can ctrl+click and go inside yaml.safe_load() and set a breakpoint in that method but when debugging, the control remain in the my code and does not go inside the safe_load().
Author   uvnikgupta
🌐
GitHub
github.com › Microsoft › vscode-python › issues › 98
Trouble removing breakpoint during debug session #98
November 13, 2017 - Put a breakpoint on the code (preferably inside a for loop) Start debugging and wait until the runner stops on the breakpoint ... The problem also happens on breakpoints I add during a debugging session.
Author   DonJayamanne
🌐
GitHub
github.com › microsoft › vscode › issues › 164178
VS Code cannot breakpoint 3rd party Python code in Jupyter Notebook · Issue #164178 · microsoft/vscode
October 20, 2022 - One of my main uses for a debugger is to step through parts of new libraries to better understand how they work and how to use them. But, my current install of VS Code refuses to let me set breakpoints or step through 3rd party libraries when I am in Jupyter Notebooks--where almost all my code is.
Author   PeterM18
🌐
GitHub
github.com › microsoft › vscode-python › issues › 2888
Debugger does not jump to Breakpoint inside a Module · Issue #2888 · microsoft/vscode-python
October 17, 2021 - Debugger should stop inside the module, exactly at the breakpoint's locoation and show local and global debug information · Create "Caller File" somewhere not in the python path.
Author   reneheimbuch
🌐
Visual Studio Code
code.visualstudio.com › docs › python › debugging
Python debugging in VS Code
November 3, 2021 - The debugger should stop on the debugpy.breakpoint() call, from which point you can use the debugger normally.
🌐
GitHub
github.com › microsoft › debugpy › issues › 1175
Debugging tests is not stopping on breakpoint · Issue #1175 · microsoft/debugpy
January 13, 2023 - The debugger panel appears at the top of the window but the debugger never stops execution of the code. Right-click on the green run button in the test file's gutter. Click "Add breakpoint". Green run button turns red. Right-click and choose "Debug Test". Python version (& distribution if applicable, e.g.
Author   pcolmer