src/Html2Pdf.php
public function setModeDebug(DebugInterface $debugObject = null)
    {
        if (is_null($debugObject)) {
            $this->debug = new Debug();
        } else {
            $this->debug = $debugObject;
        }
        $this->debug->start();

        return $this;
    }
public function setModeDebug(DebugInterface $debugObject = null)
    {
        if (is_null($debugObject)) {
            $this->debug = new Debug();
        } else {
            $this->debug = $debugObject;
        }
        $this->debug->start();

        return $this;
    }
public function setModeDebug ( DebugInterface $ debugObject = null ) { if ( is_null ( $ debugObject ) ) { $ this -> debug = new Debug ( ) ; } else { $ this -> debug = $ debugObject ; } $ this -> debug -> start ( ) ; return $ this ; }
set the debug mode to On

@param DebugInterface $debugObject

@return Html2Pdf $this
set the debug mode to On