You are here

public function BrowserConfigurationTrait::debug in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserConfigurationTrait.php \Zumba\GastonJS\Browser\BrowserConfigurationTrait::debug()

Set the debug mode on the browser

Parameters

bool $enable:

Return value

bool

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserConfigurationTrait.php, line 34

Class

BrowserConfigurationTrait
Trait BrowserConfigurationTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function debug($enable = false) {
  $this->debug = $enable;
  return $this
    ->command('set_debug', $this->debug);
}