Read game output
get_debug_outputRetrieve debug output and errors from a running Godot project launched with run_project. Returns only unseen lines by default, with options to filter errors, limit lines, or wait for output.
Instructions
Read output and errors from the game started with run_project. By default returns only lines you have not seen yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | Return at most this many of the latest lines (default 200). | |
| onlyNew | No | Only lines not returned before (default true). Set false for the full log. | |
| errorsOnly | No | Only errors and warnings (default false). | |
| waitSeconds | No | Wait this long first (or until the game exits), e.g. to let something happen. |