# Disconnect()

> Disconnects the managed debugger attached to the UnityEditor.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Scripting](/engine/7000.0/script-reference/unityeditor/scripting.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** ManagedDebugger.Disconnect() is deprecated for CoreCLR. This method does nothing on CoreCLR.

```csharp
public static void Disconnect()
```
