Prevent devtool debugger "pause on debugging" aka disable all breakpoints on devtools
See original GitHub issueI need to scarping this page:
http://r1si.com/test.html
If you try to open devtools u see “Pause on debugging” on top of page.
This because inside that page there is a code like this:
var testR1si = setInterval(function(){ debugger; console.log("go on"); },1000);
As you can see there is a continuous debugger.
I need to scarping this page with headless mode, but when go to headless debug address (eg: http://127.0.0.1:9299 ) see the same problem. (Pause on debugging)
There is same method to prevent all debugger on page, or disable all breakpoints?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
How to prevent chrome devtools from stopping on `debugger ...
The deactivate breakpoints button (⌘/ctrl + F8) disables both the debugger statements and the user breakpoints so it's not really a solution.
Read more >Pause your code with breakpoints - Chrome Developers
Use breakpoints to pause your JavaScript code. This guide explains each type of breakpoint that's available in DevTools, as well as when to ......
Read more >How To Stop The Debugger In Chrome Dev Tools - ADocLib
Turn on developer tools with F12 (Mac: Cmd+Opt+I ). Temporarily disable the breakpoint by unchecking it. Remove If you click on a stack...
Read more >Never Pause Here! Undoing Breakpoints in Chrome Devtools
TL;DR Right click in the area where you'd normally set breakpoints, select “never pause here” and you can prevent the debugger from stopping...
Read more >Debugging JavaScript Efficiently with Chrome DevTools | Buddy
Pausing then inspecting the code is a productive way to debug rather than console.log(data) and reloading pages. Once everything seems to be ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just found this https://github.com/berstend/puppeteer-extra/tree/master/packages/puppeteer-extra
the stealth plugin might help.
any advice?