View Issue Details

IDProjectCategoryView StatusLast Update
0001824XdebugUncategorizedpublic2020-10-14 15:02
Reporterexussum Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version3.0devFixed in Version3.0.0beta1 
Summary0001824: 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
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.

derick

2020-08-21 10:43

administrator   ~0005446

Fixed through https://github.com/xdebug/xdebug/pull/627