View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001824 | Xdebug | Uncategorized | public | 2020-07-29 12:34 | 2020-10-14 15:02 |
| Reporter | exussum | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Target Version | 3.0dev | Fixed in Version | 3.0.0beta1 | ||
| Summary | 0001824: Allow Xdebug's mode to be set through an environment variable | ||||
| Description | Using the command below I would expect the mode to change XDEBUG_CONFIG="mode=debug" php --info | grep xdebug.mode all other variables work in this way. Not sure if this is by design ? I was just trying out xdebug 3 so the documentation is limited | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.4.0-7.4.4 | ||||
|
|
Should note, Im using b4e7853afe73e7b53600ee0a7ad308f9f41c5ee5 |
|
|
At the moment there is only a subset of configuration settings that can be configured through XDEBUG_CONFIG, and I am in the process to reduce these with the goal to reduce configuration complexity. I do want the mode to be configured by an environment variable, but instead I want to use XDEBUG_MODE. I need to work out how this interact with the INI settings, as I need to make sure that the right configuration group (env var, or INI settings) take precedence, and I will also need to add tests for this. |
|
|
Fixed through https://github.com/xdebug/xdebug/pull/627 |