View Issue Details

IDProjectCategoryView StatusLast Update
0001693XdebugProfilingpublic2019-08-09 16:15
ReporterjamescrowleyAssigned Toderick 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.7.2 
Target VersionFixed in Version 
Summary0001693: profiler_aggregate setting not supported in XDEBUG_CONFIG environment variable
DescriptionThe documentation states that

"All settings that you can set through the XDEBUG_CONFIG setting can also be set with normal php.ini settings." (https://xdebug.org/docs/remote)

However, including profiler_aggregate=1 in that environment variable does not enable the setting. I am only able to enable it via php.ini
Steps To ReproduceTry setting XDEBUG_CONFIG="profiler_aggregate=1"

and looking at phpinfo() output - vs when you set it in php.ini
TagsNo tags attached.
Operating System
PHP Version7.3.5-7.3.9

Activities

derick

2019-08-09 16:15

administrator   ~0005112

Although it says "All settings that you can set through the XDEBUG_CONFIG setting can also be set with normal php.ini settings.", it does not say that the opposite (that all settings that you can set in php.ini can also be set through XDEBUG_CONFIG). Xdebug has many more settings (https://github.com/xdebug/xdebug/blob/master/xdebug.c#L337) than that are available through the environment variable (https://github.com/xdebug/xdebug/blob/master/xdebug.c#L568).

As I am not intending to duplicate the full php.ini settings into the environment variables, I am closing this issue as "works as expected".

Issue History

Date Modified Username Field Change
2019-08-08 12:50 jamescrowley New Issue
2019-08-09 16:15 derick Assigned To => derick
2019-08-09 16:15 derick Status new => resolved
2019-08-09 16:15 derick Resolution open => no change required
2019-08-09 16:15 derick Note Added: 0005112