Commands/debug

From Minecraft Wiki
Jump to: navigation, search
debug
Restrictions

Operator
No command blocks

First introduced

1.3.1 (12w27a)

Java Edition.png

Starts or stops a debugging session.

Syntax
debug <start|stop>
Arguments
start
Starts a new debug profiling session.
stop
Stops the active debug profiling session.
Result
Fails if trying to start a debug session when one is already active, or if trying to stop a debug session when none is running.
On success, starts or stops the debug session. While active, includes notifications about potential performance bottlenecks in the console. When stopped, creates a profiler results file in the folder "debug".

History[edit]


Java Edition
1.3.1 12w27a Added /debug.
1.8 14w31a /debug can now be run in single-player..
1.13 18w03a Added commands to the profiler..