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

# Debug a project

> Ask Veryfront Agent to inspect failures and fix the cause.

Use this guide when a preview, test, deployment, or runtime path fails.

## Give Agent the failure

Include the error, failing command, URL, or deployment state.

```text theme={null}
The preview route /settings returns a server error.
Find the cause, fix it, and run the relevant check.
```

## Ask for cause before edits

For unclear failures, ask Agent to explain the cause before changing files.

```text theme={null}
Inspect the logs and related code first.
Tell me the likely cause before editing.
```

## Keep the fix scoped

Name the behavior that must stay unchanged.

```text theme={null}
Fix the failing settings route.
Do not change the account routes.
Keep the existing form components.
```

## Verify the fix

Ask Agent to rerun the failing path and any related checks.

```text theme={null}
After the fix, rerun the failing test or preview path.
Report the command output and any remaining risk.
```

## Next

| Goal                    | Page                                               |
| ----------------------- | -------------------------------------------------- |
| Change project behavior | [Change a project](/agent/guides/change-a-project) |
| Review the branch       | [Review a branch](/agent/guides/review-a-branch)   |

## Related

| Page                                                | Use it to                                             |
| --------------------------------------------------- | ----------------------------------------------------- |
| [Project instructions](/agent/project-instructions) | Give Agent local debug commands and constraints.      |
| [Child forks](/agent/child-forks)                   | Understand isolated research, debug, and review runs. |
