'Debugging an elusive edge case where browser reloads randomly

I've spent weeks trying to figure out this bug. My app has a client where a specific page will reload after she's spent some time filling in new information in a form.

I can't figure out any reason for the page to reload. There are no error messages. Nothing is being captured in Sentry. So I can't reproduce locally.

How do I even start going about this... could I do some sort of context capture when listening to the page reloading event? As I'm not aware of any captured necessary information I'm not even sure what do send to sentry.

I'll try and save the unsaved data to local storage. But... any ideas on how to go about this is much appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source