DatapackJava

/debug

Records a performance profiling session (tick timings, function calls) to a report file, or dumps debug info. Aimed at developers diagnosing lag — not a gameplay command.

Syntax

Parameters

action
literal
start / stop / function <id>.

Examples

  • Begin a profiling session.

  • End it and write the report.

Permission level

/debug requires Server admin (op level 3). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.