> For the complete documentation index, see [llms.txt](https://metaverse-imagen.gitbook.io/ai-tools-research/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metaverse-imagen.gitbook.io/ai-tools-research/ai-tools-main-categories/programming-and-code/code-generators/cursor-ide/auto-debug.md).

# 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&amp;token=c22ffce4-2e44-46b9-be48-e47926c83c0b" alt=""><figcaption></figcaption></figure>
