public function BrowserConfigurationTrait::debug in Zircon Profile 8.0
Same name and namespace in other branches
- 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\BrowserCode
public function debug($enable = false) {
$this->debug = $enable;
return $this
->command('set_debug', $this->debug);
}