Commit 79e8953f authored by Jamie Carl's avatar Jamie Carl 🤙🏼

Fixed xdebug profiler always active

parent f5d3a595
......@@ -252,13 +252,13 @@ class Control extends Process {
if(function_exists('xdebug_is_debugger_active') && xdebug_is_debugger_active()){
$env['XDEBUG_CONFIG'] = 'profiler_enable=1'
. ' remote_enable=' . ini_get('xdebug.remote_enable')
. ' remote_handler=' . ini_get('xdebug.remote_handler')
. ' remote_mode=' . ini_get('xdebug.remote_mode')
. ' remote_port=' . ini_get('xdebug.remote_port')
. ' remote_host=' . ini_get('xdebug.remote_host')
. ' remote_cookie_expire_time=' . ini_get('xdebug.remote_cookie_expire_time');
$env['XDEBUG_CONFIG'] = 'remote_enable=' . ini_get('xdebug.remote_enable')
. ' remote_handler=' . ini_get('xdebug.remote_handler')
. ' remote_mode=' . ini_get('xdebug.remote_mode')
. ' remote_port=' . ini_get('xdebug.remote_port')
. ' remote_host=' . ini_get('xdebug.remote_host')
. ' remote_cookie_expire_time=' . ini_get('xdebug.remote_cookie_expire_time')
. ' profiler_enable=' . ini_get('xdebug.profiler_enable');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment