/**
  * Return debug info for client
  *
  * @return array
  * @author Dmitry (dio) Levashov
  **/
 public function debug()
 {
     $debug = parent::debug();
     $debug['sqlCount'] = $this->sqlCnt;
     if ($this->dbError) {
         $debug['dbError'] = $this->dbError;
     }
     return $debug;
 }
 /**
  * {@inheritdoc).
  */
 public function debug()
 {
     $this->dispatcher->dispatch('elfinder.' . __METHOD__, new ElFinderEvent(func_get_args()));
     return $this->driver->debug();
 }