# Auto-Debug

## Auto-Debug

Auto-debug is an agent for fixing errors in Cursor's terminal. To use it, click the blue "Auto-debug" button that shows up after a terminal error. When clicked, the AI will look through your files and enter a chain of thinking to try to fix the problem.

<figure><img src="https://1581258177-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8ErV6i18O2fXwbB9tnf5%2Fuploads%2Fq0AdMF2vWGZClK0jX3FH%2Fimage.png?alt=media&#x26;token=c22ffce4-2e44-46b9-be48-e47926c83c0b" alt=""><figcaption></figcaption></figure>
