# Debug

> Compiles C# code without optimizations. Defines DEBUG and all the same defines as ManagedCodeVariant.Checked. Used for debugging the code with a debugger.

## Definition

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

```csharp
Debug = 0
```
