View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001926 | Xdebug | Uncategorized | public | 2020-12-30 08:35 | 2021-01-04 16:08 |
Reporter | andreas.eisenmann | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0.1 | ||||
Target Version | 3.0dev | Fixed in Version | 3.0.2 | ||
Summary | 0001926: Add Xdebug mode's source to xdebug_info() output | ||||
Description | After migrating from xdebug 2.x to 3.0 I am not able to use the profiler anymore. Step debugging works fine. Content of my xdebug.ini: xdebug.mode=profile The output dir is writable for www-data. This output of \xdebug_info() confuses me: Feature Enabled/Disabled Docs Directive Local Value Master Value Docs So xdebug.mode is profile but the matrix with enabled/disabled features still says that the step debugger is enabled (and YES, it is, it still connects to my IDE), but the profiler not. From my understanding those values should correlate, or did I miss something? | ||||
Additional Information | www-data@php74:/$ php -v PHP is running inside a docker container launched by docker-compose. | ||||
Tags | No tags attached. | ||||
Operating System | Debian 9 | ||||
PHP Version | 7.4.10-7.4.19 | ||||
|
The information in xdebug_info()'s matrix is what Xdebug really sees, and beyond setting the xdebug.mode INI setting, the only way how this can be overridden is by the |
|
Thanks a lot, indeed there was a configuration I didn't know about in my docker environment which has defined XDEBUG_MODE. Now the profiler works as expected, thank you! :-) Is there a possibility to give a hint in the xdebug_info() - maybe similar to "local value" and "master value" - to see that xdebug.mode has been overriden by this environment variable? By the way: I really like XDebug 3 with the new info page and the improved logging, great work! |
|
|
|
I've added the source of the modes to xdebug_info() now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-30 08:35 | andreas.eisenmann | New Issue | |
2020-12-30 12:13 | derick | Assigned To | => derick |
2020-12-30 12:13 | derick | Status | new => feedback |
2020-12-30 12:13 | derick | Note Added: 0005623 | |
2020-12-30 12:47 | andreas.eisenmann | Note Added: 0005627 | |
2020-12-30 12:47 | andreas.eisenmann | Status | feedback => assigned |
2020-12-31 11:49 | derick | Note Added: 0005628 | |
2020-12-31 11:49 | derick | Target Version | => 3.0dev |
2020-12-31 12:46 | derick | Status | assigned => closed |
2020-12-31 12:46 | derick | Resolution | open => fixed |
2020-12-31 12:46 | derick | Fixed in Version | => 3.0.2 |
2020-12-31 12:46 | derick | Note Added: 0005629 | |
2021-01-04 16:08 | derick | Summary | xdebug.mode vs. enabled features => Add Xdebug mode's source to xdebug_info() output |