oc_devtools_url
Retrieve a Chrome DevTools inspector URL for an active page to enable live debugging, with optional tab or worker targeting.
Instructions
Get the Chrome DevTools inspector URL for the current worker's active page. Returns a URL you can paste into any local browser to attach live DevTools to the running page. Use targetId to select a specific open tab, or workerId to select a specific worker's current page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetId | No | Optional CDP target ID. When provided, returns the DevTools URL for that specific tab. | |
| workerId | No | Optional worker ID. When provided (and targetId is omitted), returns the DevTools URL for that worker's current page. |