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
Discussions

VS Code debug not stopping on breakpoints
Did you install the https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack extension? More on reddit.com
🌐 r/vscode
4
7
June 10, 2023
Debugger doesn't stop at breakpoints when running tests (but does during normal execution)
Julia 1.7.3 VS Code 1.74.3 Julia extension 1.38.2 I’m having a problem where, when I run tests with the debugger on the program I’m working on, the debugger doesn’t stop at any breakpoints I set. If I run the program normally (meaning executing a main function) with the debugger, the ... More on discourse.julialang.org
🌐 discourse.julialang.org
11
1
January 19, 2023
VS Code Debugger not working for python
I am experiencing debugging issue for my VS Code in WIN-10. It happened since weekend when I did OS restart . It was working fine before and I had launch.json configured too. Debugging was working fine. Any troubleshooting tips. It seems when I do… More on learn.microsoft.com
🌐 learn.microsoft.com
7
3
VSCode extension not stopping on breakpoints during debugging | ZMT zurich med tech
Hi, I'm trying to use the VSCode extension but it does not stop on breakpoints during debugging (>S4L: Debug Python Script), instead the script just runs as ... More on forum.zmt.swiss
🌐 forum.zmt.swiss
February 24, 2026
🌐
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.
🌐
Reddit
reddit.com › r/vscode › vs code debug not stopping on breakpoints
r/vscode on Reddit: VS Code debug not stopping on breakpoints
June 10, 2023 -

I'm new to using VS Code as I¡ve always used Eclipse IDE. I'm trying to debug my java file in which I've created a breakpoint, but the debugger just runs the code as if there wasn't such breakpoint..

I've seen some other people struggle with this, so here's my launch.json:

{
    // 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": "Java",
            "type": "java",
            "request": "launch",
            "stopOnEntry": true,
            "jdkPath": "${env:JAVA_HOME}/bin",
            "cwd": "${fileDirname}",
            "startupClass": "${fileBasenameNoExtension}",
            "classpath": [
                ".",
                "${fileDirname}"
            ]
        },
        {
            "name": "Java Console App",
            "type": "java",
            "request": "launch",
            "stopOnEntry": true,
            "jdkPath": "${env:JAVA_HOME}/bin",
            "cwd": "${fileDirname}",
            "startupClass": "${fileBasenameNoExtension}",
            "classpath": [
                ".",
                "${fileDirname}"
            ],
            "externalConsole": true
        },
        {
            "type": "java",
            "name": "Current File",
            "request": "launch",
            "mainClass": "${file}"
        },
        {
            "type": "java",
            "name": "Numeros",
            "request": "launch",
            "mainClass": "Numeros",
            "projectName": "progra_4bad0bd0"
        }
    ]
}

Thanks in advance

🌐
Julia Programming Language
discourse.julialang.org › tooling › vs code
Debugger doesn't stop at breakpoints when running tests (but does during normal execution) - VS Code - Julia Programming Language
January 19, 2023 - Julia 1.7.3 VS Code 1.74.3 Julia extension 1.38.2 I’m having a problem where, when I run tests with the debugger on the program I’m working on, the debugger doesn’t stop at any breakpoints I set. If I run the program normally (meaning executing a main function) with the debugger, the ...
🌐
ZMT zurich med tech
forum.zmt.swiss › home › sim4life › python api › vscode extension not stopping on breakpoints during debugging
VSCode extension not stopping on breakpoints during debugging | ZMT zurich med tech
February 24, 2026 - Hi, I'm trying to use the VSCode extension but it does not stop on breakpoints during debugging (>S4L: Debug Python Script), instead the script just runs as ...
Find elsewhere
🌐
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
🌐
Visual Studio Code
code.visualstudio.com › docs › debugtest › debugging
Debug code with Visual Studio Code
November 3, 2021 - Copilot in VS Code can help generate the launch.json file for you. For more information, see Use Copilot to generate debugging configurations. Set breakpoints in your code.
🌐
Stackademic
blog.stackademic.com › the-ultimate-guide-to-debugging-in-vs-code-2025-edition-c3c62b2cec58
🦄The Ultimate Guide to Debugging in VS Code (2025 Edition) | by Kisalay | Stackademic
August 4, 2025 - And let’s face it — if you use VS Code (who doesn’t?), you’ve got a powerful debugger sitting right there. It’s wild how much you can do once you stop just running console.log. Whether you’re fighting your first bug or wrangling a distributed monster, this is your handbook. Debug smarter. Debug faster. In VS Code. 2025 style. Everything in one place. Code, debug, test, repeat. Tons of languages. JavaScript, Python, Java, Go. Heck, even C++. Tweak it. Launch configs. Breakpoints.
🌐
Visual Studio Code
code.visualstudio.com › docs › python › python-quick-start
Quick Start Guide for Python in VS Code
November 3, 2021 - Since this is your first time debugging this file, a configuration menu will open allowing you to select the type of application you want to debug. If it's a Python script, you can select Python File. Once your program reaches the breakpoint, it will stop and allow you to track data in the Python Debug console, and progress through your program using the debug toolbar.
🌐
CS50 Docs
cs50.readthedocs.io › cs50.dev
Visual Studio Code for CS50 — CS50 Docs
When the debugger stops at a breakpoint, it will show you the value of the expressions it’s watching.
🌐
Playwright
playwright.dev › vs code
VS Code | Playwright
Using Breakpoints: Set a breakpoint by clicking in the gutter next to a line number. Right-click the test and select Debug Test. The test will pause at your breakpoint, allowing you to inspect variables and step through the code.
🌐
Visual Studio Code
code.visualstudio.com › docs › datascience › jupyter-notebooks
Jupyter Notebooks in VS Code
November 3, 2021 - This will run the cell in a debug session, and will pause on your breakpoints in any code that runs, even if it is in a different cell or a .py file. You can use the Debug view, Debug Console, and all the buttons in the Debug Toolbar as you normally would in VS Code. Note that debugging cells in a jupyter notebook does not use any of the debug configurations in launch.json.
🌐
Medium
medium.com › towards-data-science › how-to-make-most-of-your-python-debugger-in-vscode-9e05dfce533f
How to Make the Most of Your Python Debugger in VSCode | by Dr. Varshita Sher | TDS Archive | Medium
January 25, 2025 - ... Start debugger (make sure the active screen contains hello.py) and hit the Continue button until you reach the breakpoint in upper.py. Take a look at the Call Stack window (see figure below):
🌐
YouTube
youtube.com › watch
Learn to Debug Python in VSCode (Say Goodbye to Print Statements) - YouTube
Did you know there is a debugger built right in VSCode for Python applications? In this video we will walk through how to debug your Python applications fast...
Published   January 30, 2025
🌐
Medium
medium.com › @husein2709 › vscode-debugging-for-python-your-ultimate-step-by-step-guide-711934c5c786
VSCode Debugging for Python: Your Ultimate Step-by-Step Guide
September 2, 2024 - By the end of this guide, you’ll ... leverage VSCode’s debugging tools to troubleshoot and optimize your Python applications effectively. So, grab your virtual magnifying glass and let’s dive into the world of debugging with Visual Studio Code. Together, we’ll transform the daunting task of debugging into a breeze, making you a debugging pro in no time. Imagine you’re a detective, and breakpoints are your clues. They allow you to pause the execution of your code at specific points, ...
🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › developer › visualstudio › debuggers › debugger-not-stop-breakpoint
Visual Studio debugger doesn't stop on breakpoints - Visual Studio | Microsoft Learn
May 7, 2022 - This article helps you resolve a problem where the debugger doesn't stop on breakpoints when you debug ASP.NET applications in Microsoft Visual Studio .NET.