debugger_evaluate_at_frame
Evaluate a JavaScript expression in the scope of a paused call frame to inspect local variables and closures, confirming hypotheses with real values.
Instructions
Evaluate an expression in the scope of a paused call frame, so local variables and closures are in scope. This is how you confirm a hypothesis with a real value rather than inferring one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How deep to expand an object result. | |
| expression | Yes | JavaScript evaluated in the frame's scope. | |
| frame_index | No | Which frame; 0 is innermost. |