# Debugging

These logs are especially useful when you're experiencing issues or unexpected behavior, and they help our support team diagnose and resolve problems more efficiently.

If you encounter an error, simply export the logs and include them when [contacting support](https://advanced-views.com/support/).

## Debugging

**Error logs** - Contains PHP warnings and errors related to the plugin. The error logs are deleted when the plugin is updated or deactivated.

**Internal logs** - Contains plugin warnings and debug messages if the development mode is enabled. The logs are deleted when the plugin is deactivated.

**Generate debug dump** - Turn this on and click 'Process' to download the file. The above logs and other information about your server environment will be included.\
Send this to Support on request.

<figure><img src="/files/AU31uYmSi5CsZ3rHXizE" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wplake.gitbook.io/advanced-views/tools/debugging.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
