[英]how to totally ignore 'debugger' statement in chrome?
'never pause here' can not work “永远不要停在这里”行不通
after I continue:我继续后:
still paused仍然暂停
To totally ignore all breakpoints in Chrome, you must do as follows:要完全忽略 Chrome 中的所有断点,您必须执行以下操作:
Open your page in the Chrome browser.在 Chrome 浏览器中打开您的页面。
Press F12 or right-click on the page and select Inspect .按F12或右键单击页面并选择Inspect 。
In the Source panel, press Ctrl + F8 to deactivate all breakpoints.在 Source 面板中,按Ctrl + F8停用所有断点。 (or: At the top-right corner, select deactivate breakpoints .)
(或:在右上角,选择deactivate breakpoints 。)
All breakpoints and debugger
statements will be deactivated.所有断点和
debugger
语句都将被停用。
I tested it in Chrome 79 .0.3945.88 (64-bit) and I found that the debugger
statement is ignored.我在 Chrome 79 .0.3945.88(64 位)中对其进行了测试,发现
debugger
语句被忽略了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.