1

I am debugging a React app made with create-react-app.

Reloading while paused on a breakpoint causes the page to stall. The page goes blank and will not reload; the tab can't be immediately closed. The dead tab appears to be trying to reload (spinner appears), but never reloads. I have to open the page in a new tab.

Grid Trekkor
  • 1,443
  • 2
  • 14
  • 19
  • 1
    See this: https://stackoverflow.com/questions/11026560/chrome-javascript-debugger-when-paused-wont-reload-page?rq=1 You have to unpause and then reload. – Mykybo Nov 22 '19 at 15:04

1 Answers1

2

I've found that I must allow the debugger to continue past all breakpoints before reloading the page. Alternative: deactivate all breakpoints, then click resume. This prevents the page from stalling (and then requiring the tab to be killed and reopened).

Grid Trekkor
  • 1,443
  • 2
  • 14
  • 19
  • Yikes.. still going on in chromium now. It comes across as a really bad bug. Very concerning for devs who may be wondering if there could be a production issue, when in fact it's a strange chromium "quirk" – DAG Dec 22 '22 at 13:56