Reference
cdp_object_inspect
Inspect a JS object by property path without flattening to JSON. Uses Runtime.getProperties for lazy, handle-based inspection. Good for large objects, cyclic refs, class instances.
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
expression | string | Yes | JS property path or primitive literal to inspect | ||
depth | unknown | No | 1 | min: 0, max: 3, integer | Property inspection depth (default 1, max 3) |
maxProperties | unknown | No | 20 | min: 1, max: 100, integer | Max properties per level (default 20) |
cdp_object_inspect(expression: <string>)