jQuery 如何阻止chrome进入调试模式?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15831685/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to stop chrome from going into debug mode?
提问by Farhad-Taran
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.
这发生在任何网站上。
回答by liurr90
You've accidentally set "Pause on Exceptions" to all/uncaught exceptions.
您不小心将“异常暂停”设置为所有/未捕获的异常。
Go to the "Sources" tab. At the bottom toolbar, toggle the button that looks like the pause symbol surrounded by a circle (4th button from the left) until the color of the circle turns black to turn it off.
转到“来源”选项卡。在底部工具栏上,切换看起来像被圆圈包围的暂停符号的按钮(左起第四个按钮),直到圆圈的颜色变为黑色以将其关闭。
回答by 8protons
回答by Nimesh
回答by Bruno Miyamotto Luque
If you're unfamiliar with the tools it's likely that at some point while on the debugger you toggled a setting that is causing the debugger to stop the application, I suggest you "Disable all break points"
如果您不熟悉这些工具,很可能在调试器上的某个时候您切换了导致调试器停止应用程序的设置,我建议您“禁用所有断点”
Source:
来源:
回答by thenamezv
You have multiple chrome browser tabs open for same URL and dev toolbar. In some other tab you have set breakpoints which are showing up when you are debugging on current tab. Solution: Close dev toolbar on other tab or the tab itself.
您为相同的 URL 和开发工具栏打开了多个 chrome 浏览器选项卡。在其他一些选项卡中,您设置了在当前选项卡上调试时显示的断点。解决方案:关闭其他选项卡上的开发工具栏或选项卡本身。