Variables in a frame
get_scopesInspect all variables visible in a stack frame—locals, closures, blocks, modules, and this—with values; expand object refs via get_properties to debug Node.js execution.
Instructions
All variables visible in a frame (local, closure, block, module scopes, plus this), with values. Object values come with a ⟨ref⟩ you can expand with get_properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | Frame index from get_stack; 0 is the innermost. | |
| include_global | No | Also dump the global scope (large). |