# debuggerAttached

> This event triggers whenever managed debugger is attached or detached.

## Definition

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

```csharp
public static event Action<bool> debuggerAttached
```
