Instrumentation breakpoint
This tests that we can hit breakpoints in JavaScript on initial load (essentially tests that DevTools properly uses the
Debugger.setInstrumentationBreakpoint
API).
Steps
- Open DevTools
- Set a breakpoint in function
foo
in instrumentation-breakpoint.ts
line 2
- Open a new tab (optionally closing this tab) and open DevTools
- Navigate to this page in the new tab
- DevTools should pause on the breakpoint in function
foo