MC Toolkit / Commands / Advanced Command Builder — Control & Debug / Debug Command Generator
Debug Command Generator
Build a /debug command to profile server performance or trace a single function/function tag run, and see where the resulting report is written.
3 argument paths · Minecraft 26.3 · from Mojang's own command tree
/debug function <name>/debug start/debug stop
Run these from an operator’s chat, a command block, or a function file. Stopwatch and Fetchprofile are newer commands — check availability on your Minecraft version.