Debug Mode
Debug mode helps you inspect an app without guessing where the state, route, action, or API problem started.
bash
zz dev --debugWhat it shows
| Panel | Purpose |
|---|---|
| Current route | Shows the active route. |
| Registered pages | Lists known routes. |
| State tree | Shows current app state. |
| Action log | Shows recent actions. |
| API log | Shows request status and history. |
| Last error | Shows the most recent runtime error. |
When to use it
Use debug mode when click handlers do nothing, route rendering fails, state does not update, API calls fail, or a template behaves differently than expected.