Unexpected Page Reload after Pausing in Debugger
See original GitHub issueSteps to reproduce/test case
- Add a breakpoint in Chrome debugger
- Wait until execution stops and hold on for a few seconds
- Continue via F8 to or click the play button
- Unexpectedly, the entire page is refreshed and the code runs from beginning
Please specify which version of Browsersync, node and npm you’re running
- Browsersync [2.24.6]
- Node [v10.8.0]
- Npm [6.2.0]
Affected platforms
- Windows 10 x64
Browsersync use-case
- API
- Gulp
- Grunt
- CLI
for all other use-cases, (gulp, grunt etc), please show us exactly how you’re using Browsersync
browserSync.init({
server: ["./webapp/", "./webapp/test", "./"],
index: "index.html",
notify: false
});
References
There are already two Stack Overflow posts:
- https://stackoverflow.com/questions/51589521/browser-refresh-after-breakpoint
- https://stackoverflow.com/questions/51762881/browser-getting-refreshed-after-resuming-debugger
And a message in Slack:
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:27 (5 by maintainers)
Top Results From Across the Web
Cannot reload page while Chrome devtools debugger paused ...
Reloading while paused on a breakpoint causes the page to stall. The page goes blank and will not reload; the tab can't be...
Read more >Chrome reloading page on debugger breakpoint pause - Reddit
I was able to see browser-sync activity in Network tab of the debugger with a handy 'Preserve log' option. The issue was addressed...
Read more >Source tab sometimes does not refresh when browser window ...
1. Load a page in the browser. · 2. Open Developer Tools. · 3. Select the Sources tab; open the HTML file; open...
Read more >22 Debugging | Advanced R - Hadley Wickham
What do you do when R code throws an unexpected error? What tools do you have to find and fix the problem? This...
Read more >Fix "Aw, Snap!" page crashes and other page loading errors
Usually, you can reload the page to fix the error. ... More tools and then ... Quit other apps or programs that are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
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 have this problem as well. I have had some success by increasing the client heartbeat timeout:
Is this issue is resolved with 2.25.1 ?