function PhpConfigDataCollector::hasXDebug

Returns true if the XDebug is enabled.

Return value

Boolean true if XDebug is enabled, false otherwise

File

webprofiler/src/DataCollector/PhpConfigDataCollector.php, line 60

Class

PhpConfigDataCollector
Provides a data collector to collect all kind of php information.

Namespace

Drupal\webprofiler\DataCollector

Code

public function hasXDebug() {
    return $this->data['xdebug_enabled'];
}