setDebug() public method

Sets the debug flag of the application
public setDebug ( boolean $flag )
$flag boolean
 /**
  * @group 9
  */
 public function testDebugModeIsMutable()
 {
     $application = new Application('ZFConsoleApplication', $this->version, $this->getRoutes(), $this->console, $this->dispatcher);
     $application->setDebug(true);
     $this->assertAttributeSame(true, 'debug', $application);
 }