1

I use Chrome Developer Tools to inspect a page online and hit debugger breakpoints in the site's scripts. I did not set these breakpoints. How are they there?

screen grab of chrome developer tools display vm 183 tab

aaronbnb
  • 69
  • 1
  • 9

1 Answers1

0

Maybe they are error/exception breakpoints. Check if pause on exceptions is enabled, or step over and check if exceptions appears in the console.

enter image description here

Edit: other posibility is that code include debugger instructions (debugger statement...) as defined in Programmatically stop JavaScript execution in Firebug

user1039663
  • 1,230
  • 1
  • 9
  • 15
  • No. That control is not activated. The breakpoint brings up a tab "VM 153" that has a function debugger() – aaronbnb Feb 09 '20 at 04:29
  • 1
    Then it could be the debugger instructions as defined in https://stackoverflow.com/questions/1265623/programmatically-stop-javascript-execution-in-firebug – user1039663 Feb 09 '20 at 04:43
  • Silly me. Debugging and breakpoint functionality did not used to come natively in the browser. Breakpoints had to be written in manually. – aaronbnb Feb 09 '20 at 19:15