View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001947 | Xdebug | Uncategorized | public | 2021-02-18 10:32 | 2021-03-11 22:56 |
| Reporter | derick | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0.2 | ||||
| Target Version | 3.0dev | Fixed in Version | 3.0.4 | ||
| Summary | 0001947: xdebug_info() settings section does not show the modes that are overridden by XDEBUG_MODE | ||||
| Description | From https://twitter.com/sgomez/status/1362342877683138561 Sergio Gomez: Thanks a lot @derickr. You are very nice. I ran xdebug_info() function with XDEBUG_MODE=debug in my env, but it always shows develop mode. I didn't found anyone with my same problem so I guess that it is something I did wrong. That was my only problem, the IDE connects well. Derick Rethans: xdebug_info() should show the source of the modes, but the value for the INI setting "xdebug.mode" further down won't (can't) be changed through the environment variable as it's a built-in PHP thing. I can see if I can fix that in xdebug_info() output though! Also, updated it in the docs page: https://xdebug.org/docs/all_settings#mode: Sergio: The point is that with this sentence: "You can also set the mode by setting the XDEBUG_MODE environment variable on the command-line; this will take precedence over the xdebug.mode setting." I understood that xdebug.mode in xdebug_info() will display the new mode." | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.0.0-8.0.4 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-02-18 10:32 | derick | New Issue | |
| 2021-02-18 10:32 | derick | Status | new => assigned |
| 2021-02-18 10:32 | derick | Assigned To | => derick |
| 2021-02-18 10:53 | derick | Description Updated | |
| 2021-02-18 10:55 | derick | Description Updated | |
| 2021-02-18 11:54 | derick | Target Version | 3.0.3 => 3.0dev |
| 2021-03-11 22:56 | derick | Status | assigned => closed |
| 2021-03-11 22:56 | derick | Resolution | open => fixed |
| 2021-03-11 22:56 | derick | Fixed in Version | => 3.0.4 |