debugger_get_scope
Get all variables in scope at a paused call frame, expanding nested objects and arrays so values are visible, and marking anything omitted for size. Includes 'this'.
Instructions
Read the variables in scope at a paused call frame, with objects and arrays expanded rather than printed as 'Object'. Includes this. Anything omitted for size is explicitly marked, so you never have to guess whether you saw the whole value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many levels of nested objects to expand. 3 covers object → array → record. | |
| frame_index | No | 0 is the innermost frame; see debugger_get_state for the stack. | |
| include_global | No | Include the global scope (thousands of properties). | |
| max_properties | No | Maximum properties per object. |