admin管理员组文章数量:1334906
I wanted to see the network log of a third-party web site. (No malicious purposes, just to solve a login problem of a client who is a legitimate user of the web site.) But it seems the developers have put some measure to prevent that. Some dynamically generated function loops 200 times and calls debugger
. So, if I open the developer tool, it constantly stops and "Never pause here" does not work either, because its location keeps changing.
I tried all major browsers (Chrome, FF, Edge) and they all stopped. Is there any way temporarily to disable all debugger
pause, or a web browser that has a developer tool but ignores that keyword?
I wanted to see the network log of a third-party web site. (No malicious purposes, just to solve a login problem of a client who is a legitimate user of the web site.) But it seems the developers have put some measure to prevent that. Some dynamically generated function loops 200 times and calls debugger
. So, if I open the developer tool, it constantly stops and "Never pause here" does not work either, because its location keeps changing.
I tried all major browsers (Chrome, FF, Edge) and they all stopped. Is there any way temporarily to disable all debugger
pause, or a web browser that has a developer tool but ignores that keyword?
2 Answers
Reset to default 3Chrome's dev tools has a Disable All Breakpoints button which will ignore this.
In IE and Edge you can detach the debugger using the "Disconnect debugger" toggle. It's the 2nd icon from the left of the debugger's mand bar. When disconnected the debugger will ignore all break reasons. I'd open the tools somewhere else, disconnect, and then navigate to the page you wanted to look at.
本文标签: javascriptCan I completely disable 39debugger39 in scriptsStack Overflow
版权声明:本文标题:javascript - Can I completely disable 'debugger' in scripts? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742376842a2463330.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论