#bug fix:$db->debug() now works as intended