source_list_scripts
List JavaScript files loaded in a page with their sizes and source map availability. Filter by URL to locate the right script before setting breakpoints.
Instructions
List the JavaScript files loaded in the page, with size and whether each has a source map. This is indexed the moment DevCDP attaches, so it works on a page that was already open. Filter by URL substring to find the file you need before setting a breakpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum scripts to return. | |
| filter | No | Only scripts whose URL contains this substring. | |
| with_source_maps | No | Only scripts that carry a source map. |