Skip to content

cdp_object_inspect

Inspect a JS object by expression without flattening to JSON. Uses Runtime.getProperties for lazy, handle-based inspection. Good for large objects, cyclic refs, class instances.

NameTypeRequiredDefaultConstraintsDescription
expressionunknownYesJS expression to evaluate and inspect (e.g. “globalThis.REDUX_STORE”)
depthunknownNo1min: 0, max: 3, integerProperty inspection depth (default 1, max 3)
maxPropertiesunknownNo20min: 1, max: 100, integerMax properties per level (default 20)
cdp_object_inspect(expression: <unknown>)