In visual studio you can Ctrl+Shit+F9
to clear all breakpoints.
Is there a similar function in VsCode?
I couldn't find any good answer.
Thanks!
Delete All Breakpoints If you've been debugging your code for any period, you may find a number of breakpoints littered around your code. If you want to quickly delete all your break poins, you can press Ctrl, Shift + F9 Visual Studio Delete All Breakpoints
Or hover over the breakpoint symbol, select the Settings icon, and then select Conditions in the Breakpoint Settings window. You can also right-click in the far left margin next to a line of code and select Insert Conditional Breakpoint from the context menu to set a new conditional breakpoint.
To break at the instruction or line that a calling function returns to, you can set a breakpoint in the Call Stack window. To open the Call Stack window, you must be paused during debugging. Select Debug > Windows > Call Stack, or press Ctrl + Alt + C.
Inline breakpoints. An inline breakpoint can be set using Shift+F9 or through the context menu during a debug session and inline breakpoints are shown inline in the editor. Inline breakpoints can also have conditions. Editing multiple breakpoints on a line is possible through the context menu in the editor left margin.
There is an unbound command workbench.debug.viewlet.action.removeAllBreakpoints
that you could set to your own keybinding.
{
"key": "alt+b",
"command": "workbench.debug.viewlet.action.removeAllBreakpoints"
},
In the Keyboard Shortcuts just search for breakpoint
and various commands come up.
And in the Breakpoints panel viewlet hover over one of the icons to see that it will "Remove all breakpoints"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With