MySQL 8.3.0
Source Code Documentation
COM_DEBUG

Dump debug info to server's stdout

COM_DEBUG triggers a dump on internal debug info to stdout of the mysql-server.

The SUPER_ACL privilege is required for this operation.

Payload
TypeNameDescription
int<1> command 0x0D: COM_DEBUG
Returns
ERR_Packet or OK_Packet
See also
mysql_dump_debug_info, dispatch_command