# setDevelopmentMode (Client)

> Turns development mode on or off on this client. While it is on, the `showcol` and `showsound` console commands draw the collision shapes and the world sounds.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Server
- **URL**: https://wiki.mymp.gg/en/setDevelopmentMode

## Syntax

```lua
bool setDevelopmentMode(bool enabled [, bool enableWeb = false])
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `enabled` | `bool` | `true` to turn it on. |
| `enableWeb` | `bool` | Accepted, but does nothing. *(default: `false`)* |

## Returns

`true`.

## Example

```lua
addCommandHandler("devmode", function()
    setDevelopmentMode(not getDevelopmentMode())
end)
```

## See also

- [getDevelopmentMode (Client)](https://wiki.mymp.gg/en/getDevelopmentMode.md): Tells whether development mode is on on this client.
