How to debug app restart?

Hi there,

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?

Thanks, Heiner

use chrome inspect device to check console log while app running in device

Haven’t tested it yet, but does it provide any different feature than Safari / XCode in terms of debugging the restart?