Developer Tools -> Sources -> Event Listener Breakpoints (on the right sidebar) -> Load -> check unload
This will make debugger break on unload event which is dispatched before navigation.
Developer Tools -> Sources -> Event Listener Breakpoints (on the right sidebar) -> Load -> check unload
This will make debugger break on unload event which is dispatched before navigation.