TIL about the JavaScript debugger statement. You can put debugger in a JS source file, and if you have the console open, the browser will pause execution at that line, like a breakpoint:

console.log("code");
debugger;
console.log("pause here");

This is really going to be useful in the future.