View Issue Details

IDProjectCategoryView StatusLast Update
0001824XdebugUncategorizedpublic2020-07-29 16:04
ReporterexussumAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version 
Target Version3.0.0devFixed in Version 
Summary0001824: Allow Xdebug's mode to be set through an environment variable
DescriptionUsing the command below I would expect the mode to change

XDEBUG_CONFIG="mode=debug" php --info | grep xdebug.mode
xdebug.mode => develop => develop


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
TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

exussum

2020-07-29 12:35

reporter   ~0005433

Should note, Im using b4e7853afe73e7b53600ee0a7ad308f9f41c5ee5

derick

2020-07-29 16:04

administrator   ~0005434

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.

Issue History

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.0.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