debugger Better debugging method for PHP Usage $dbg = new dbg($type, $code); where $code is your object and $type is one of those listed below Types LOG DIE CONSOLE TYPE