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
expressionstringYesJS expression to evaluate and inspect (e.g. “globalThis.REDUX_STORE”)
depthnumberNo1min: 0, max: 3, integerProperty inspection depth (default 1, max 3)
maxPropertiesnumberNo20min: 1, max: 100, integerMax properties per level (default 20)
cdp_object_inspect(expression: <string>)