# /debugplayer

Turns debug on or off for one player's connection.

Source page: https://zomboiddb.com/commands/debugplayer/

Command

`/debugplayer`

Who can use it

admin

Capability

`ConnectWithDebug`

Single player

No, it needs a server

## What you type

`/debugplayer "username"`

## Examples

- `/debugplayer "rj"`

rj is the name the game's own help uses. Put your player's name in its place.

## What the game answers

- /debugplayer "username"
- no such user
- no connection for user
- debug off

## Which access levels can use it

| Capability | banned | user | priority | observer | gm | moderator | admin |
| --- | --- | --- | --- | --- | --- | --- | --- |
| `ConnectWithDebug` | | | | | | | yes |

These are the roles the game makes for a new server. An admin can change them in the admin panel. [What each level may do](https://zomboiddb.com/access-levels/).

## More commands like this one

[/teleport](https://zomboiddb.com/commands/teleport/) [/teleportplayer](https://zomboiddb.com/commands/teleportplayer/) [/teleportto](https://zomboiddb.com/commands/teleportto/) [/godmode](https://zomboiddb.com/commands/godmode/) [/godmodeplayer](https://zomboiddb.com/commands/godmodeplayer/) [/noclip](https://zomboiddb.com/commands/noclip/) [/invisible](https://zomboiddb.com/commands/invisible/) [/invisibleplayer](https://zomboiddb.com/commands/invisibleplayer/) [/addxp](https://zomboiddb.com/commands/addxp/)
