How can I stop Chrome from going into debug mode?
You've accidentally set "Pause on Exceptions" to all/uncaught exceptions.
Go to the "Sources" tab. At the top right hand side, toggle the button that looks like the pause symbol surrounded by a hexagon (button on the far right) until the color of the circle turns black to turn it off.
There are a couple of reasons for this:
-
You've toggled on the Pause On Caught Exceptions button. So, toggle it off.
-
You've toggled a line (or more) to be paused on exception. So, toggle it off.
I have made it working...
Please follow the highlighted mark in the attached image.
If you were unfamiliar with the tools, it was likely that at some point while in the debugger you toggled a setting that was causing the debugger to stop the application.
I suggest you "Disable all break points":
Source:
https://javascript.info/debugging-chrome