How can I stop Chrome from going into debug mode?
JavascriptJqueryGoogle ChromeJavascript Problem Overview
If the debugging window is open, the debugger starts hitting lines by itself even though there are no set breakpoints.
I have tried using the "Deactivate breakpoints" button and it doesn't make a difference if it is on or off.
This happens on any website.
Javascript Solutions
Solution 1 - Javascript
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.
Solution 2 - Javascript
There are a couple of reasons for this:
Solution 3 - Javascript
Solution 4 - Javascript
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:
Solution 5 - Javascript
You have multiple Google Chrome browser tabs open for the same URL and developer toolbar.
In some other tab, you have set breakpoints which are showing up when you are debugging in the current tab.
Solution: Close the developer toolbar in the other tab or the tab itself.
Solution 6 - Javascript
For anyone that's searching why their chrome debugger is automatically jumping to sources tab on every page load, event though all of the breakpoints/pauses/etc have been disabled.
For me it was the "breakOnLoad": true
line in VS Code launch.json
config.