Search code examples
visual-studiovisual-studio-codedebuggingbreakpoints

VS Code debug breakpoint circle in line number


very newbie question yet can't seem to find an answer from anywhere. I tried to add a breakpoint in VSC, expecting to see it by the line, yet my editor doesn't show red circle as in the snapshot even though I added this line in settings: "debug.showBreakpointsInOverviewRuler": true

Any advice on this? (image is a snapshot from web) enter image description here


Solution

  • Just figured out what was happening. There was a user setting I copied from a lecture to mimick the environment used by the instructor in settings.json (that you can find with ctrl + P : open user settings (JSON)). I had to change the value to true

    "editor.glyphMargin": false

    Hope others don't make similar newbie mistake (still can't understand why the instructor had this setting)