I have an issue with unexpected app restarts, well, not the whole app, but the page is reloaded. Up to now, I was not able to debug the cause of this. My idea was to add an appropriate callback function for “onbeforeunload” and set a breakpoint there. But if the app runs on a device (connected with Safari), that breakpoint is not recognized.
Any idea what I can do to get the status before the reload?