[英]How do I stop the debugger in Chrome Dev Tools?
I would like to interact with the page I am building with the console open.我想在控制台打开的情况下与我正在构建的页面进行交互。 Unfortunately, if I trigger an event on my page the Dev Tools switches from "Console" to "Sources" and says "paused in debugger."
不幸的是,如果我在我的页面上触发一个事件,开发工具会从“控制台”切换到“源”并显示“在调试器中暂停”。 It's driving me bananas.
它让我吃香蕉。 Is there a way to deactivate it?
有没有办法停用它?
Just press Ctrl + F8.只需按 Ctrl + F8。 Alternatively you can click the related button next to the buttons controlling the debugger.
或者,您可以单击控制调试器的按钮旁边的相关按钮。
This way the execution won't stop.这样执行就不会停止。 It is especially useful when you try to inspect websites not under your control that left breakpoints (
debugger
command) in the source code, that might have been done intentionally to prevent you from doing said inspection.当您尝试检查在源代码中留下断点(
debugger
命令)的不受您控制的网站时,它特别有用,这可能是故意进行的,以防止您进行所述检查。
You likely have a Breakpoint set on an Event.您可能在事件上设置了断点。 To remove it:
要删除它:
检查您的 DOM、XHR 和事件侦听器断点,并确保它们未被选中/处于非活动状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.