I find the use of ternary operator a bit confusing.
I'd do :

```php
$isInteractiveDebugging = false;
if ( $useDebugging && isset( $_COOKIE['XDEBUG_SESSION'] ) )
{
    $isInteractiveDebugging = true;
    $loader = require_once __DIR__ . '/../ezpublish/autoload.php';
}
else
{
    $loader = require_once __DIR__ . '/../ezpublish/bootstrap.php.cache';
}
```