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 | derick | ||
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 |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-07-29 12:34 | exussum | New Issue | |
2020-07-29 12:35 | exussum | Note Added: 0005433 | |
2020-07-29 16:04 | derick | Status | new => confirmed |
2020-07-29 16:04 | derick | Product Version | 2.9.6 => |
2020-07-29 16:04 | derick | Target Version | => 3.0dev |
2020-07-29 16:04 | derick | Summary | Xdebug 3 doesnt allow mode be to set in env variables => Allow Xdebug's mode to be set through an environment variable |
2020-07-29 16:04 | derick | Note Added: 0005434 | |
2020-08-21 10:43 | derick | Assigned To | => derick |
2020-08-21 10:43 | derick | Status | confirmed => closed |
2020-08-21 10:43 | derick | Resolution | open => fixed |
2020-08-21 10:43 | derick | Fixed in Version | => 3.0dev |
2020-08-21 10:43 | derick | Note Added: 0005446 | |
2020-10-14 15:02 | derick | Fixed in Version | 3.0dev => 3.0.0beta1 |