<?php
if (!function_exists('xdebug_is_enabled')) {
function xdebug_is_enabled() {
if (ini_get('xdebug.mode') === 'develop') {
return true;
}
return false;
}
}
https://bugs.xdebug.org/bug_view_page.php?bug_id=00001883
https://xdebug.org/docs/upgrade_guide#changed-xdebug.default_enable