pause_on_load
Pause execution at the first script statement after reloading the page, enabling debugging of load-time code. Reloads the page, so unsaved state is lost.
Instructions
Enables the debugger and injects a breakpoint at the first statement of any script loaded after reloading the page. Side effects: reloads the current page (destructive of unsaved state). Prerequisites: requires an active Chrome tab. Returns: confirmation of debugger enablement and page reload. Use this to debug script execution from the page load. Alternatives: 'set_breakpoint' for targeting specific scripts/lines, 'pause_on_exceptions' for exception-based pausing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | The Tab ID of the target tab. Omit to use the active tab. | |
| instance_id | No | Chrome instance id from open_instance/list_instances. Omit for the default instance. |