process_read_output
Retrieve and clear buffered stdout/stderr output from the debugged process, optionally filtering by category or limiting lines to keep the rest for later retrieval.
Instructions
Drain buffered output (stdout/stderr) from the debuggee since the previous call. Returns the lines collected and removes them from the buffer. Filtering by category drains only that category — lines in other categories, and matches beyond maxLines, stay buffered for a later call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category: "stdout", "stderr", "console", or omit for all. | |
| maxLines | No | Maximum lines to drain in this call. |