bool ADOdb_Session::debug( optional bool $enableDebugger )
The static method debug enables or disables debugging on the session connection. This is not the same value as the debugging associated with the database abstraction layer debugging.
When used without parameters it returns the currently set value
include_once 'adodb/adodb.inc.php'; include_once "adodb/session/adodb-session2.php"; ADODB_Session::config($driver,$host,$user,$pass,$database); ADOdb_Session::debug(true);