> For the complete documentation index, see [llms.txt](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gocomedyfunstoredocs.gitbook.io/gocomedyfun-store/scripts-free/login-fun/english/configuration/debug.md).

# Debug

### Mode Debug

The Config.Debug parameter allows you to enable or disable the script's debug mode

#### Example configuration

```lua
Config.Debug = false
```

***

#### Steps to configure Debug mode

1. **Locate the parameter**\
   In the file `config.lua`, mark the line :

   ```lua
   Config.Debug = false
   ```
2. **Understanding how it works**
   * `false` = Debug mode disabled (default)
   * `true` = Debug mode enabled
3. When to enable debugging **?**
   * To **test and verify** if the points, zones or interactions are working correctly
4. **Recommendation**
   * Enable debug mode only **during testing**
5. **Save and restart**\
   After making changes, save them `config.lua` then restart the resource :

   ```cfg
   restart dj_fun
   ```

***

#### In summary

* **Config.Debug = true** → displays useful information for developers (areas)
* **Config.Debug = false** → normal mode, no additional information displayed
