PHP. Руководство по PHP. 2005
mysqli_debug
mysqli_debug
Description
bool mysqli_debug (string debug)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.