View Issue Details

IDProjectCategoryView StatusLast Update
0001894XdebugStep Debuggingpublic2020-11-27 12:01
Reporterjavijavo29 Assigned Toderick  
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version3.0.0RC1 
Target Version3.0dev 
Summary0001894: XDEBUG_SESSION cookie ignored and not sent do dbgProxy
DescriptionI'm trying to use XDEBUG against the official dbgProxy, but is not working.

The cookie XDEBUG_SESSION is set in the browser via "xDebug Helper" for chrome or Firefox.
The cookie arrives to Apache server.
But then the cookie is not sent by Xdebug to the proxy configured, the message has no "idekey" set.

I've tried using XDEBUG_SESSION_START by parameter with similar results

This is the trace from the xdebug log where there is no IDEKEY set at all:
<code>
[36333] Log opened at 2020-11-23 13:28:54.891019
[36333] [Step Debug] INFO: Connecting to configured address/port: 192.168.32.76:9100.
[36333] [Step Debug] INFO: Connected to debugging client: 192.168.32.76:9100 (through xdebug.client_host/xdebug.client_port). :-)
[36333] [Step Debug] -> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" fileuri="file:///media/demo.php" language="PHP" xdebug:language_version="7.4.8" protocol_version="1.0" appid="36333"><engine version="3.0.0RC1"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[https://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2020 by Derick Rethans]]></copyright></init>

[36333] [Step Debug] -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="https://xdebug.org/dbgp/xdebug" status="stopping" reason="ok"></response>

[36333] Log closed at 2020-11-23 13:28:55.409146
</code>


From the dbgProxy log:
<code>
dbgProxy -i 192.168.32.76:9101 -s 192.168.32.76:9100
Xdebug DBGp proxy (0.3)
Copyright 2020 by Derick Rethans
13:28:36.392 [warn] [SSL] The 'certs/fullchain.pem' file could not be found, not enabling SSL listeners
13:28:36.393 [info] [dbgpProxy] Proxy started
13:28:36.395 [info] [server] Started server server on 192.168.32.76:9100
13:28:36.395 [info] [server] Started client server on 192.168.32.76:9101
13:28:52.976 [info] [server] Start new server connection from 192.168.32.78:10980
13:28:52.978 [warn] [server] Handler response error: Both IDE Key and Cloud User are unset
13:28:52.978 [info] [server] Closing server connection from 192.168.32.78:10980

</code>


In version of xdebug 2.9.8, we have a similar proble but the IDEKEY was sent with a default of the apache user, ignoring the XDEBUG_SESSION cookie as well.

Many thanks
Additional InformationPHP 7.4.1 (cli) (built: Mar 16 2020 17:33:26) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v3.0.0RC1, Copyright (c) 2002-2020, by Derick Rethans


TagsNo tags attached.
Operating SystemCentOS Linux release 7.7.1908 (Core)
PHP Version7.4.0-7.4.4

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-11-23 13:43 javijavo29 New Issue
2020-11-27 11:59 derick Assigned To => derick
2020-11-27 11:59 derick Status new => acknowledged
2020-11-27 12:01 derick Target Version => 3.0dev