MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001553XdebugRemote Debuggingpublic2018-05-25 18:192018-05-25 18:19
Reporterspajak 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSDebianOS Versionsid
Product Version2.6.0 
Target VersionFixed in Version 
Summary0001553: Debugger always starts
DescriptionIf you set remote_host throu environment variable like so:
XDEBUG_CONFIG=remote_host=192.168.0.221
xdebug starts debug session on every request, regardless GET/POST params or cookie presence. This is in conflict with default behavior when the same remote_host is set in php.ini file, which is to trigger debugging only when special GET/POST param or cookie is present.
Steps To Reproduce1. Install nginx + php7.0-fpm + xdebug-2.6.0

2. Set environment variable XDEBUG_CONFIG=remote_host=<MY_IP>

3. Make a request without any parameters or cookies. See the response with Set-Cookie: XDEBUG_SESSION=www-data; or something similar, which triggers debugger
TagsNo tags attached.
Operating SystemDebian sid
PHP Version7.0.25-7.0.29
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-05-25 18:19 spajak New Issue


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker