debugger_set_breakpoint
Set a breakpoint in a browser script or original source file, using URL or source-map path, with optional condition and auto-resume to avoid frozen pages.
Instructions
Set a breakpoint and report honestly whether Chrome could bind it. Accepts either a loaded script URL (a substring is resolved to the exact script) or an original pre-bundling file path, which is translated through the source map. Set auto_resume:true when the action is being driven by an automation tool, so the page does not stay frozen and time that action out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Script URL, URL substring, or original source path. | |
| line | Yes | 1-based line number, as shown by source_get_script / source_get_file. | |
| column | No | 1-based column, when several statements share a line. | |
| condition | No | JavaScript condition — pause only when it is truthy, e.g. 'id === 42'. | |
| auto_resume | No | Default true: capture scope/console/network on hit, then resume, so the page is never left frozen and the action that tripped it completes. Pass false to hold the pause for stepping; released after maxPauseMs regardless. |