Commands/debug

From Minecraft Wiki
Jump to: navigation, search
debug
Restrictions

Operator
No command blocks

First introduced

Java Edition 1.3.1 (Java Edition 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.112w27aAdded /debug.
1.814w31a/debug can now be run in single-player..
1.1318w03aAdded commands to the profiler..