MySQL 26.10 Reference Manual Including MySQL NDB Cluster 26.10
Anything written to the trace is automatically written to the debug file.