> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mythex.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Debug your app

> Describe bugs clearly, use Preview and /test, and restore checkpoints when needed.

# Debug your app

## Starter prompt

```text theme={null}
In Preview, [STEPS TO REPRODUCE].
Expected: [EXPECTED].
Actual: [ACTUAL].
Fix the bug and verify the flow works.
```

## Tools

* **Preview** — reproduce visually
* **`/test`** — [App Testing](/features/app-testing) against the live preview
* **`/fix`** — focus the agent on breakage
* **Code → terminal** — read server logs
* **Restore** — roll back a bad agent turn ([Chat](/features/chat))

## Related

* [Debugging with prompts](/prompting/debugging)
* [Iterate](/prompting/iterate)
* [Publish troubleshooting](/publish/troubleshooting)
