Home > Back-end >  How can I permenatly disable breakpoints in VS Code so they don't appear at all?
How can I permenatly disable breakpoints in VS Code so they don't appear at all?

Time:09-27

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

CodePudding user response:

Break-points are contributed by debugging extensions. If you want to rid your self of them you need to disable the debuggers for the markdown/programming language that your coding in.

First you need to check the extensions you installed for any debuggers. I included an image below that shows how to search for them.

enter image description here

Right click on the debugger extensions and disable them.


Now you need to look for debuggers built-in to VS Code

To do this, refer to the next image below.

enter image description here

and again, right click them, then disable them.


Additional Info:

Not every debugger is going to contribute breakpoints to the language your coding in. Its likely going to be a single debugging extension that contributes the breakpoints. Disabling all debuggers will get rid of them, but I suggest that after you get rid of the break points that you go back and enable the debuggers one by one, and check and see if the break-points come back after each one is disabled. This way you can find the debugger that is contributing them. Then disable only the debugger that is adding them, and leaving all other extensions enabled, as some features rely on them. It looks like your writing a markup language, specifically either standard HTML, or XML (probably SVG). Those are not debuggable languages, so some extension is probably needlessly contributing breakpoints. Which means it might be a debugger you installed.


EDIT:

As an FYI, you should also make sure the setting "debug.allowBreakpointsEverywhere" is set to false.

CodePudding user response:

go click on the run part on tab and select remove all breakpoints

  • Related