# Debugging and Configuration

## Enable Debug Mode

Edit the config file:

```lua
Config.DebugMode = true
```

## Debug Outputs

```lua
DebugPrint("HUD shown")
DebugPrint("HUD hidden")
DebugPrint("Minimap initialized")
DebugPrint("Player not loaded, skipping")
```

## Error Handling

* Commands blocked if player not loaded
* Exports return false if invalid state
