
/debug
Starts or stops a debug profiling session. Its basic form is /debug function <name>; it has 3 syntax forms and 1 argument. Permission: Op level 3.
/debug syntax
Game dataEvery form the game accepts. Words in <angle brackets> are arguments you fill in; everything else is typed as is.
/debug function <name>/debug start/debug stop/debug arguments
What each argument expects, with the limits the game enforces.
| Argument | Expects | Limits |
|---|---|---|
<name> | Function ID or #tag | — |
Starts or stops a debug profiling session. It has 3 syntax forms and can be run by: Op level 3.
See Also
Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.
/debug FAQ (Java 26.3)
What does /debug do in Minecraft?
Starts or stops a debug profiling session.
What is the syntax of /debug?
The basic form is /debug function <name>. All forms are listed above.
Do you need cheats for /debug?
Yes: Op level 3. In singleplayer turn on Allow Cheats (or open to LAN with cheats).