public function setDebug($debug, $handler = null)
    {
        $this->debug         = $debug;
        $this->debug_handler = $handler;
    }
public function setDebug($debug, $handler = null)
    {
        $this->debug         = $debug;
        $this->debug_handler = $handler;
    }
public function setDebug ( $ debug , $ handler = null ) { $ this -> debug = $ debug ; $ this -> debug_handler = $ handler ; }
Set the value of the debugging flag.

@param boolean  $debug   New value for the debugging flag.
@param callback $handler Debug handler callback

@since 1.1.0
Set the value of the debugging flag .