The mysqli_debug() function is used to perform debugging
operations using the Fred Fish debugging library. The debug
parameter is a string representing the debugging operation to perform.
Замечание:
To use the mysqli_debug() function you must complile
the MySQL client library to support debugging.