# Script Debugging

<figure><img src="https://624141870-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBjtVxM2tKSYe1SVErFtc%2Fuploads%2FS7SaMhTs3FYDLj2Fr9YC%2Fdlxplugins-1695325310252-1x.webp?alt=media&#x26;token=f434783a-4036-4c30-b98a-9895d8f4a978" 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
