debug_step
Step through code execution on a mobile device by specifying direction: in, over, out, or continue. Returns debug state and optional stack and variables.
Instructions
Advance the target. "in" — step into next call (blocks ~ms, returns {state, breakpoints, stack, frame0_locals}) "over" — step over next call (same shape) "out" — run until current frame returns (same shape) "continue" — resume until next breakpoint (fire-and-forget; returns just {state, breakpoints} — poll debug_state for next stop)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device ID | |
| direction | Yes | "in" | "over" | "out" | "continue" | |
| include_stack | No | Include the new stack. Default true. Ignored for direction="continue". | |
| include_vars | No | Include the new frame[0] locals. Default true. Ignored for direction="continue". |