xdebug_time_index() is incompatible with step-debugging in xdebug 3.0
In xdebug 3.0 they changed some things. There's now an xdebug.mode setting you need to set instead of remote_enable etc. The default value is develop
, and then the function xdebug_time_index() is available. But for some reason if you set the value to debug
, which you need for step-debugging, then you get:
Function must be enabled in php.ini by setting 'xdebug.mode' to 'develop'
This might be a bug in xdebug itself, but regardless I don't see anywhere where this gets used. It's coming from https://github.com/civicrm/civicrm-core/blob/388745c7b82c2b0114e88ca9510d7a8c450689a1/Civi/API/Subscriber/DebugSubscriber.php#L76.
Is it used in CI/Jenkins?