> For the complete documentation index, see [llms.txt](https://docs.stammer.ai/stammer.ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stammer.ai/stammer.ai-docs/chat-ai-agents/general-settings/debug-mode.md).

# Debug Mode

This is helpful to enable when testing a new AI agent to see what data is being sent to OpenAI.

Enable Debug mode to display both the search results generated by the query and the data exchanged with the ChatGPT API for troubleshooting or analysis purposes.

<figure><img src="https://1359281993-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkLIQnOFYHkQtdWxUzzFE%2Fuploads%2F7naVhSkorRMopxz4S5k2%2FScreenshot%202024-09-16%20at%2012.45.23%E2%80%AFPM.jpg?alt=media&amp;token=b6d230ef-5a07-400a-93b4-118381c6dd43" alt=""><figcaption></figcaption></figure>
