# Script Debugging

<figure><img src="/files/lgYIlyo1QQjFU65aVBe4" alt=""><figcaption><p>Script Debugging Options in the Advanced Section</p></figcaption></figure>

The source files for the scripts are in [`/src/js/frontend`](https://github.com/DLXPlugins/wp-ajaxify-comments/tree/main/src/js/frontend) [in the GitHub repo](https://github.com/DLXPlugins/wp-ajaxify-comments).

### Uncompressed Scripts

All five Ajaxify Comments scripts will load separately if:

* Uncompressed scripts are enabled
* Debug mode is enabled for the plugin

### Always Include Scripts

This will load Ajaxify Comments everywhere. Please note that if `debug` mode is enabled, Ajaxify scripts will load everywhere in that case as well.

### Loading scripts in the footer

It is always advisable to load scripts in the footer for performance reasons.&#x20;

Scripts will load in the footer if:

* Place scripts in the footer is enabled
* Debug mode is enabled
* SCRIPT\_DEBUG is enabled


---

# 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://docs.dlxplugins.com/ajaxify-comments/developers/script-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.
