src/View/Helper/Dojo.php
public function setDebug($flag = true)
    {
        $this->debug = $this->getSession()->debug = (bool) $flag;
        if (true == $this->debug) {
            if (isset($this->options['debugOptions'])
                && is_array($this->options['debugOptions'])) {
                    $this->initializeOptions($this->options['debugOptions']);
                }
        } else {
            $this->initializeOptions($this->options);
        }
    }
public function setDebug($flag = true)
    {
        $this->debug = $this->getSession()->debug = (bool) $flag;
        if (true == $this->debug) {
            if (isset($this->options['debugOptions'])
                && is_array($this->options['debugOptions'])) {
                    $this->initializeOptions($this->options['debugOptions']);
                }
        } else {
            $this->initializeOptions($this->options);
        }
    }
public function setDebug ( $ flag = true ) { $ this -> debug = $ this -> getSession ( ) -> debug = ( bool ) $ flag ; if ( true == $ this -> debug ) { if ( isset ( $ this -> options [ 'debugOptions' ] ) && is_array ( $ this -> options [ 'debugOptions' ] ) ) { $ this -> initializeOptions ( $ this -> options [ 'debugOptions' ] ) ; } } else { $ this -> initializeOptions ( $ this -> options ) ; } }
Set debug flag

@param string $flag
Set debug flag