Chrome Dev tools snippets

Set a breakpoint in code.

debugger

Debug a page redirect or reload

window.addEventListener("beforeunload", function() { debugger; }, false)