OGTOOLS

Minecraft /debug command

Records what the server is doing and writes the result to the debug folder.

⚙️ Advanced commands Server admin (level 3) Needs cheats enabled Java Edition 26.3

Syntax

/debug start
/debug stop
/debug function <name>

Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.

Arguments

ArgumentWhat it does
start / stop Starts and ends the recording.

Examples

/debug start

Starts the profiling recording.

/debug stop

Ends the recording and writes it to a file.

Good to know

  • Used when hunting for the cause of lag; the output is an advanced profiling file.

How do I run this command?

Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (server admin (level 3)).

Related commands

⚙️ More Advanced commands

Another tool Minecraft crafting recipes Would rather make the item than give it with a command? See the recipe on the 3x3 grid.

Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.