# Debug

> Debug configuration turns off all optimizations, which makes the code quicker to build but slower to run.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
Debug = 0
```
