---
url: /reference/api/Function.enableDebug.md
---
# Function: enableDebug()

```ts
function enableDebug(debug?): void
```

Defined in: [src/features/debug.ts:7](https://github.com/rolldown/tsdown/blob/e88155a5f2eef50a708ce04f2f868f0d6320b4ff/src/features/debug.ts#L7)

## Parameters

### debug?

`boolean` | `Arrayable`<`string`>

## Returns

`void`
