question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected Page Reload after Pausing in Debugger

See original GitHub issue

Steps to reproduce/test case

  1. Add a breakpoint in Chrome debugger
  2. Wait until execution stops and hold on for a few seconds
  3. Continue via F8 to or click the play button
  4. 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:

And a message in Slack:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:27 (5 by maintainers)

github_iconTop GitHub Comments

6reactions
singlowcommented, Aug 16, 2018

I have this problem as well. I have had some success by increasing the client heartbeat timeout:

browserSync.init({
...
    socket: {
        clients: { heartbeatTimeout: 60000 } 
    }
...
});
4reactions
Chandra01Bcommented, Oct 7, 2018

Is this issue is resolved with 2.25.1 ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found