Loading
A marker that tells the debugger to pause the program at a specific line so you can inspect variables.
Set in the browser DevTools (click a line number) or in code with the `debugger` statement. Conditional breakpoints only pause when a specified expression is true. Logpoints log a message without pausing.
Implemented by the engine inserting an interrupt instruction at the bytecode offset corresponding to the source position. Hardware breakpoints (used in native debuggers) use CPU debug registers. Web debuggers communicate via the Chrome DevTools Protocol (CDP).