How can I stop Chrome from going into debug mode?

JavascriptJqueryGoogle Chrome

Javascript 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:

  1. You've toggled on the Pause On Caught Exceptions button. So, toggle it off.

    Enter image description here

  2. You've toggled a line (or more) to be paused on exception. So, toggle it off.

    Enter image description here

Solution 3 - Javascript

I have made it working...

Please follow the highlighted mark in the attached image.

Enter image description here

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":

Enter image description here

Source:

https://javascript.info/debugging-chrome

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionFarhad-TaranView Question on Stackoverflow
Solution 1 - Javascriptliurr90View Answer on Stackoverflow
Solution 2 - Javascript8protonsView Answer on Stackoverflow
Solution 3 - JavascriptNimeshView Answer on Stackoverflow
Solution 4 - JavascriptBruno Miyamotto LuqueView Answer on Stackoverflow
Solution 5 - JavascriptthenamezvView Answer on Stackoverflow
Solution 6 - JavascriptKaspars PutniņšView Answer on Stackoverflow