MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001497XdebugFeature/Change requestpublic2017-12-01 08:482017-12-01 21:01
Reporterinfo@xtack.org 
Assigned To 
PrioritylowSeverityminorReproducibilityN/A
StatusacknowledgedResolutionsuspended 
PlatformMS WindowsOSMS WindowsOS VersionMS Windows 7+
Product Version2.5.5 
Target VersionFixed in Version 
Summary0001497: REQUEST: Implement PHP_INI_PERDIR type variable allowing to completely disable all Xdebug functionality per directory
DescriptionHi Derick,

I would like to kindly request you to implement a new PHP_INI_PERDIR type
variable in Xdebug 2.5+ allowing the user to completely disable _ALL_ Xdebug functionality per directory, via PHP .user.ini files, even if Xdebug was
originally/centrally loaded from the master PHP.ini file.

At the moment, and according to Xdebug's documentation and the PHP Manual,
I don't think there's such feature implemented:

http://php.net/manual/en/configuration.file.per-user.php [^]
http://www.php.net/manual/en/ini.list.php [^]

... and such a feature would be extremely useful in numerous scenarios.

On the other hand, I intuitively tend to think that it shouldn't be hard or
time consuming to implement.

Thank you!
TagsNo tags attached.
Operating SystemMS Windows
PHP Version7.1.0-7.1.4
Attached Files

- Relationships

-  Notes
(0004496)
derick (administrator)
2017-12-01 10:29

Due to semver I can't add new features to Xdebug 2.5.x - and Xdebug 2.6 is nearly ready, and I won't add more features besides the one on the road map to that. As this is likely going to be a breaking change, the first version I could add this would likely be 3.0.

But also, this request is not simple to implement. Feel free to follow your intuition and open a PR. There is a contributing guideline at https://xdebug.org/contributing.php [^]
(0004497)
info@xtack.org (reporter)
2017-12-01 21:01

Hi Derick, thanks a lot for your quick reply. Yeah, I see the point to only eventually consider it for 3.0, thanks!

I will try to have look at the code, although at the moment I'm a bit short of time.

Thank you again and please do kindly consider this feature, anyway, for 3.0.

Best regards.

- Issue History
Date Modified Username Field Change
2017-12-01 08:48 info@xtack.org New Issue
2017-12-01 10:29 derick Note Added: 0004496
2017-12-01 10:29 derick Priority normal => low
2017-12-01 10:29 derick Status new => acknowledged
2017-12-01 10:29 derick Resolution open => suspended
2017-12-01 21:01 info@xtack.org Note Added: 0004497


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker