get_debug_output
Retrieve captured stdout/stderr from a running Godot project. Use when runtime tools fail to surface script errors, missing nodes, or crash backtraces. Returns the last limit lines of output.
Instructions
Get captured stdout/stderr from a spawned Godot project. Use whenever runtime tools fail unexpectedly — script errors, missing nodes, and crash backtraces all surface here. Requires run_project (not attach_project; attached mode does not capture output). Returns { output, errors, running, exitCode? } with the last limit lines (default 200, from the end). Reports attached-mode unavailability gracefully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max lines to return (default: 200, from end of output) |