Search code examples
visual-studio-codeconfigurationbreakpoints

How can I permanently disable breakpoints in VS Code so they don't appear at all?


I have been using VSCode for a long time and I don't know how to resolve this problem.

Please don't confuse what I am asking with removing a break-point after I have added it. I simply want to disable them all together.

Here is an image of the break-points that I am referencing:

enter image description here


Solution

  • // Controls whether the editor should render the vertical glyph margin.
    // The Glyph margin is mainly used for debugging.
    "editor.glyphMargin": false
    

    Paste the above setting into your VSCode settings.json.

    Alternatively, go to the visual settings editor and search "glyph margin", which should take you to this section:

    Relevant setting in the UI

    Disable this setting.