kb_debug with any arguments that you want to log and they will be pretty printed at the end of the document.?KB_Debug_Errors to your URL. ?KB_Debug_Hooks to the URL.To see both just add ?KB_Debug_Errors&KB_Debug_Hooks. (Essentially $_GET[var] must be set to enable that feature).