View Issue Details

IDProjectCategoryView StatusLast Update
0002286XdebugInstallationpublic2024-10-08 15:19
Reportercjsdfw Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSUbuntuOS Version22.04.4 LTS
Product Version3.3.2 
Summary0002286: Changing xdebug parameters in PHP Pool changes parameters values but has no effect on affected Xdebug Features
Description

Changing xdebug parameters in PHP Pool configuration files changes the parameters value but does not change Xdebug features afected.

What you expected to happen.

I configured 'xdebug.mode=off' in /etc/php/8.2/fpm/conf.d/20-xdebug.ini
to default no debugging and reduce overhead and then changed xdebug.mode from 'off' to 'debug' for a specific website through 'PHP Pool' configuration file and expected the 'Step Debugger' feature to toggle from disabled to enabled.

What happened instead.

xdebug_info() shows the value of xdebug.mode changed to 'debug' but the 'Step Debugger' remains disabled.

If I swith xdebug.mode to 'debug' in the /etc/php/8.2/fpm/conf.d/20-xdebug.ini file the 'Step Debugger' gets enabled.

XDEBUG Version 3.3.2
PHP Version 8.1.29

root@srv1:/# php -v
PHP 8.1.29 (cli) (built: Jun 6 2024 16:53:25) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies
with Xdebug v3.3.2, Copyright (c) 2002-2024, by Derick Rethans

OS Ubuntu 22.04.4 LTS

My question is if I should be able to make xdebug.ini changes through PHP Pool Configuration files and expect XDebug Features to change accordingly or must I make changes only in the main PHP XDEBUG configuration file that applies to all websites in server using the specific version of PHP.

Steps To Reproduce

Change xdebug parameters in the PHP Pool Configuration file, in my case it is: /etc/php/8.1/fpm/pool.d/web10.conf.

TagsNo tags attached.
Operating SystemUBUNTU 22.04.4 LTS
PHP Version8.1.20-8.1.29

Activities

cjsdfw

2024-09-03 20:01

reporter   ~0007049

Please close this issue.
It was resolved in ID=0002153 and clarified in documentation
https://xdebug.org/docs/install#mode

derick

2024-10-08 15:19

administrator   ~0007061

No worries. I'm glad you found it in the documentation.

Issue History

Date Modified Username Field Change
2024-09-03 15:49 cjsdfw New Issue
2024-09-03 20:01 cjsdfw Note Added: 0007049
2024-10-08 15:19 derick Assigned To => derick
2024-10-08 15:19 derick Status new => resolved
2024-10-08 15:19 derick Resolution open => no change required
2024-10-08 15:19 derick Note Added: 0007061