Issues when remote debugging
Posted: February 13th, 2017, 5:56 pm
I still have tons of issues when remote debugging and the first file on remote server does not exist in local project.
I properly setup manual path mapping.
What happens is that XDEBUG is able to connect back to PHP Tools, but PHP Tools fails to "answer back".
This is what is registered in the XDEBUG remote log:
og opened at 2017-02-13 17:52:33
I: Connecting to configured address/port: 127.0.0.1:9000.
I: Connected to client.
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///D:/_Webs/php_envivo/runtime/loader.inc" language="PHP" xdebug:language_version="7.0.1-dev" protocol_version="1.0" appid="59640" idekey="5815C1C4"><engine version="2.4.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2016 by Derick Rethans]]></copyright></init>
And this is what is shown in output window:
Auto-attach to process '[16344] PHP.Debugger.Systray.exe' on machine 'DESKTOP-P0Q9JJQ' succeeded.
Then the request gets stuck forever as XDEBUG is expecting a response from PHP Tools without success.
I properly setup manual path mapping.
What happens is that XDEBUG is able to connect back to PHP Tools, but PHP Tools fails to "answer back".
This is what is registered in the XDEBUG remote log:
og opened at 2017-02-13 17:52:33
I: Connecting to configured address/port: 127.0.0.1:9000.
I: Connected to client.
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///D:/_Webs/php_envivo/runtime/loader.inc" language="PHP" xdebug:language_version="7.0.1-dev" protocol_version="1.0" appid="59640" idekey="5815C1C4"><engine version="2.4.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2016 by Derick Rethans]]></copyright></init>
And this is what is shown in output window:
Auto-attach to process '[16344] PHP.Debugger.Systray.exe' on machine 'DESKTOP-P0Q9JJQ' succeeded.
Then the request gets stuck forever as XDEBUG is expecting a response from PHP Tools without success.