2

I casually pressed a key, i don't know which one, i want to remove it from the view, i don't use VScode debugger at all.

enter image description here

I read the docs but it's unclear.

keepAlive
  • 6,369
  • 5
  • 24
  • 39
Alexey Nikonov
  • 4,958
  • 5
  • 39
  • 66

3 Answers3

4

F9

or

Click on the editor margin

or

(Top Bar) Debug -> Toggle Breakpoint

or

(Icon on The left) Debug -> Breakpoint section -> Mouse Over -> Remove all breakpoints

should remove the breakpoint

vfle
  • 1,355
  • 7
  • 18
  • clicking on it doesnt do anything, i use mac ( i didnt mention it in the question), i turned on f1-f12 in mac preferences but that didnt work. I found a solution through Command Palette – Alexey Nikonov Nov 08 '18 at 11:25
  • According to https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf F9 should work for mac too. – vfle Nov 08 '18 at 11:28
1

Search for debug in settings, disable "glyph margin", and all related settings, this will disable the option to make debugging dots, if you just want to remove them all but not disable adding them, use the answers above.

Felierix
  • 179
  • 3
  • 12
0

To remove all breakpoints (red dot) you need go to Command Palette -> Debug and choose Remove all breakpoints from dropdown list. More is in Docs

Alexey Nikonov
  • 4,958
  • 5
  • 39
  • 66