# Debug mode

If you are having issues with your installation, the first step will be to enable debug mode and check for error messages on:&#x20;

* Your server's php error log
* The browser console
* The browser's network Tab if an ajax request failed

To enable debug mode, edit [your configuration file](/about/installation/configuration-file.md) and find this line

`define('DEBUG', false);`

Change the value to true like this

`define('DEBUG', true);`

This will try to enable php's logging and error output features.

If you don't know where the php error log file, you will need to ask your hosting provider for help locating it. In some cases they cannot be enabled on the fly. Just as before, your hosting's support team might be able to enable it for you.


---

# 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.projectsend.org/about/troubleshooting/debug-mode.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.
