# Function: devOverlay()

> **devOverlay**(`options?`): [`Plugin`](../../core/interfaces/Plugin.md)

Defined in: [dev/src/overlay.ts:44](https://github.com/debuffjp/debuff/blob/4f0ae1091cc5ab837e28b1efc93d4aed7342f621/packages/dev/src/overlay.ts#L44)

Dev-only overlay. A toolbar (pause, step, speed, snapshot, restart) over four tabs:
**perf** (frame graph, headroom, hitches and their causes, a frame inspector), **tune** (live
controls for every `game.params` group), **state** (the scene's `inspect()` data, live) and
**log** (errors, activity with undo, notes for agents). Plain DOM, no dependencies.
Use inside `if (import.meta.env.DEV)`.

## Parameters

### options?

[`DevOverlayOptions`](../interfaces/DevOverlayOptions.md) = `{}`

## Returns

[`Plugin`](../../core/interfaces/Plugin.md)
