PhpStorm not reacting to xdebug

I have a weird issue that has me stumped.

 

I have had PhpStorm working with Xdebug flawlessly for the last 6 months in my current environment.

Today, it just stops working.... everywhere....

When I refresh a page in Chrome (with extensions installed and set to debug, and PhpStorm listening to debug connections ) the page will hang. If I disable any part of the debugging, the page load as expected. I have checked all settings multiple times on multiple servers/platforms, rebooted everything. I even updated my PhpStorm ... no dice.

 

All environments I am trying to debug were working fine yesterday, and not today.

The server environments are

  1. Linux/ Apache 2.4.29 / PHP 5.6.33 / xdebug 2.5.5
  2. Linux/ Apache 2.4.33 / PHP 7.2.5 / xdebug 2.6.0
  3. Windows/ Apache 2.4.33 / PHP 7.2.5 / xdebug 2.6.0

With PHPStorm 2017.?? => 2018.1.4 running on windows 10

 

My first thought was a firewall being activated by our corporate SOC lastnight ... but the log appears to show that the server is successfully connecting to PHPStorm on my windows box.

 

I have run out of ideas. Any thoughts on what to check would be greatly appreciated!

 

All environments have slightly different settings, but are showing the same results. The following sample data is from env #2

 

 

NOTE: xdebug.remote_connect_back is being used, so the below remote host error is irrelevant 

Note: in addition to the settings below, breakpoints are set in multiple reliable locations.

 

This is the complete log before the browser hangs. Log never closes, PhpStorm never reacts and browser keeps trying to load.

9 comments

Hi there,

>If I disable any part of the debugging, the page load as expected.

What do you mean here?

 

What kind of code is there? Can you debug very simple code where you just add few int variables into 3rd (each command on separate line)?

Will it make any difference if you increase the max number of simultaneous xdebug connections from 1 to 3?

Can you terminate the script from within the IDE?

0

Thank You for the thoughts and taking the time to reply!

 

>What do you mean here?

When the IDE is listening for a connection AND xdebug helper is in debug mode, the browser hangs.

When either is disabled, the page loads as expected.

 

>Can you debug very simple code where you just add few int variables into 3rd (each command on separate line)?

All my debugging test have been simple, using vars, functions, and output that are consistently paused on. I have also tried on pages I know are path mapped.

Here is an example of the code I have tried.

 

>Will it make any difference if you increase the max number of simultaneous xdebug connections from 1 to 3?

I had tried setting it to 10 before, just tried 3... same results

 

>Can you terminate the script from within the IDE?

No option to terminate the script is available, as the IDE has no reaction to the xdebug session. The debug window never appears, nor is View -> Tool Windows -> Debug ever enabled. 

 

No changes so for.

Thanks for the ideas though!

 

One thought I had this morning...

I am still not 100% convinced the firewall isn't blocking something, but I don't know enough about firewalls to know if there is a way to find out ....

Perhaps it is allowing the initial connection, but somehow blocking data transmission?

So the effect would be, xdebug would activate because it has received the Cookie, it would successfully connect to PHPStorm which would instruct xdebug to break on a line. So the server breaks on the line as instructed, sends data to PHPStorm. The firewall blocks the data transmission, so PHPStorm never receives the signal to activate the debug tools. Causing the browser to appear locked up, but rather it is just paused at the correct breakpoint, and PHPStorm never hears back from the browser so it just sits there, assuming the breakpoint is never hit.

The factor that doesn't make sense to me is, I would think the firewall would block the initialization process as well as the data, but perhaps xdebug is using different protocols or settings to do the handshake which make it past the firewall.

Does that make any sense?

0

>No option to terminate the script is available, as the IDE has no reaction to the xdebug session. The debug window never appears, nor is View -> Tool Windows -> Debug ever enabled. 

If you enable extra debug log on IDE side as well -- will it show anything?

https://intellij-support.jetbrains.com/hc/en-us/articles/207241115-How-to-Collecting-PhpStorm-WebStorm-debug-Logs

>Perhaps it is allowing the initial connection, but somehow blocking data transmission?

TBH -- extremely unlikely ... because:

  1. It's all the same connection as seen in the xdebug log.
  2. Your xdebug log (that you have showed) clearly shows that there was proper communication between IDE and client

 

Here is my test file:

<?php

$a = 1;
$b = 2;
$c = $a + $b;
echo $c;

PhpStorm 2018.1.4, Windows 10 x64; PHP 7.1.17 nts x86; Xdebug 2.6.0.

Here is the actual xdebug.log (breakpoint was at $b = 2; line; After that I just hit "Resume" button. It was CLI debug (PHP Script type of Run/Debug Configuration)

.Log opened at 2018-06-01 14:47:17
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:///E:/Projects/web/_idetest/test.php" language="PHP" xdebug:language_version="7.1.15-dev" protocol_version="1.0" appid="5192" idekey="13195"><engine version="2.6.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2018 by Derick Rethans]]></copyright></init>

<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>

<- feature_set -i 2 -n max_depth -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>

<- feature_set -i 3 -n max_children -v 100
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>

<- feature_set -i 4 -n extended_properties -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="extended_properties" success="1"></response>

<- status -i 5
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="status" transaction_id="5" status="starting" reason="ok"></response>

<- step_into -i 6
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="6" status="break" reason="ok"><xdebug:message filename="file:///E:/Projects/web/_idetest/test.php" lineno="3"></xdebug:message></response>

<- breakpoint_set -i 7 -t line -f file://E:/Projects/web/_idetest/test.php -n 4
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="7" id="51920001"></response>

<- stack_get -i 8
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="8"><stack where="{main}" level="0" type="file" filename="file:///E:/Projects/web/_idetest/test.php" lineno="3"></stack></response>

<- run -i 9
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="9" status="break" reason="ok"><xdebug:message filename="file:///E:/Projects/web/_idetest/test.php" lineno="4"></xdebug:message></response>

<- stack_get -i 10
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="10"><stack where="{main}" level="0" type="file" filename="file:///E:/Projects/web/_idetest/test.php" lineno="4"></stack></response>

<- context_names -i 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="11"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>

<- context_get -i 12 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="12" context="0"><property name="$a" fullname="$a" type="int"><![CDATA[1]]></property><property name="$b" fullname="$b" type="uninitialized"></property><property name="$c" fullname="$c" type="uninitialized"></property></response>

<- context_get -i 13 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="13" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="50" page="0" pagesize="100"><property name="ALLUSERSPROFILE" fullname="$_SERVER[&quot;ALLUSERSPROFILE&quot;]" type="string" size="14" encoding="base64"><![CDATA[QzpcUHJvZ3JhbURhdGE=]]></property><property name="APPDATA" fullname="$_SERVER[&quot;APPDATA&quot;]" type="string" size="31" encoding="base64"><![CDATA[QzpcVXNlcnNcQW5kcml5XEFwcERhdGFcUm9hbWluZw==]]></property><property name="asl_log" fullname="$_SERVER[&quot;asl_log&quot;]" type="string" size="16" encoding="base64"><![CDATA[RGVzdGluYXRpb249ZmlsZQ==]]></property><property name="CommonProgramFiles" fullname="$_SERVER[&quot;CommonProgramFiles&quot;]" type="string" size="35" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXM=]]></property><property name="CommonProgramFiles(x86)" fullname="$_SERVER[&quot;CommonProgramFiles(x86)&quot;]" type="string" size="35" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXM=]]></property><property name="CommonProgramW6432" fullname="$_SERVER[&quot;CommonProgramW6432&quot;]" type="string" size="29" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlc1xDb21tb24gRmlsZXM=]]></property><property name="COMPUTERNAME" fullname="$_SERVER[&quot;COMPUTERNAME&quot;]" type="string" size="9" encoding="base64"><![CDATA[QkFaWklLT05F]]></property><property name="ComSpec" fullname="$_SERVER[&quot;ComSpec&quot;]" type="string" size="27" encoding="base64"><![CDATA[QzpcV0lORE9XU1xzeXN0ZW0zMlxjbWQuZXhl]]></property><property name="FPS_BROWSER_APP_PROFILE_STRING" fullname="$_SERVER[&quot;FPS_BROWSER_APP_PROFILE_STRING&quot;]" type="string" size="17" encoding="base64"><![CDATA[SW50ZXJuZXQgRXhwbG9yZXI=]]></property><property name="FPS_BROWSER_USER_PROFILE_STRING" fullname="$_SERVER[&quot;FPS_BROWSER_USER_PROFILE_STRING&quot;]" type="string" size="7" encoding="base64"><![CDATA[RGVmYXVsdA==]]></property><property name="HOMEDRIVE" fullname="$_SERVER[&quot;HOMEDRIVE&quot;]" type="string" size="2" encoding="base64"><![CDATA[Qzo=]]></property><property name="HOMEPATH" fullname="$_SERVER[&quot;HOMEPATH&quot;]" type="string" size="13" encoding="base64"><![CDATA[XFVzZXJzXEFuZHJpeQ==]]></property><property name="LOCALAPPDATA" fullname="$_SERVER[&quot;LOCALAPPDATA&quot;]" type="string" size="29" encoding="base64"><![CDATA[QzpcVXNlcnNcQW5kcml5XEFwcERhdGFcTG9jYWw=]]></property><property name="LOGONSERVER" fullname="$_SERVER[&quot;LOGONSERVER&quot;]" type="string" size="11" encoding="base64"><![CDATA[XFxCQVpaSUtPTkU=]]></property><property name="NUMBER_OF_PROCESSORS" fullname="$_SERVER[&quot;NUMBER_OF_PROCESSORS&quot;]" type="string" size="1" encoding="base64"><![CDATA[NA==]]></property><property name="OneDrive" fullname="$_SERVER[&quot;OneDrive&quot;]" type="string" size="24" encoding="base64"><![CDATA[QzpcVXNlcnNcQW5kcml5XE9uZURyaXZl]]></property><property name="OS" fullname="$_SERVER[&quot;OS&quot;]" type="string" size="10" encoding="base64"><![CDATA[V2luZG93c19OVA==]]></property><property name="Path" fullname="$_SERVER[&quot;Path&quot;]" type="string" size="1088" encoding="base64"><![CDATA[QzpcV2luZG93c1xzeXN0ZW0zMjtDOlxXaW5kb3dzO0M6XFdpbmRvd3NcU3lzdGVtMzJcV2JlbTtDOlxXaW5kb3dzXFN5c3RlbTMyXFdpbmRvd3NQb3dlclNoZWxsXHYxLjBcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTlZJRElBIENvcnBvcmF0aW9uXFBoeXNYXENvbW1vbjtFOlxQcm9qZWN0c1xwaHBccGhwO0M6XFByb2dyYW1EYXRhXENvbXBvc2VyU2V0dXBcYmluO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTWljcm9zb2Z0IFNRTCBTZXJ2ZXJcQ2xpZW50IFNES1xPREJDXDEzMFxUb29sc1xCaW5uXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXE1pY3Jvc29mdCBTUUwgU2VydmVyXDEzMFxUb29sc1xCaW5uXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXE1pY3Jvc29mdCBTUUwgU2VydmVyXDEzMFxEVFNcQmlublw7QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxNaWNyb3NvZnQgU1FMIFNlcnZlclwxMzBcVG9vbHNcQmlublxNYW5hZ2VtZW50U3R1ZGlvXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXFNreXBlXFBob25lXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXENvbW1vbiBGaWxlc1xBY3JvbmlzXFZpcnR1YWxGaWxlXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXENvbW1vbiBGaWxlc1xBY3JvbmlzXFZpcnR1YWxGaWxlNjRcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcQ29tbW9uIEZpbGVzXEFjcm9uaXNcU25hcEFQSVw7QzpcV0lORE9XU1xzeXN0ZW0zMjtDOlxXSU5ET1dTO0M6XFdJTkRPV1NcU3lzdGVtMzJcV2JlbTtDOlxXSU5ET1dTXFN5c3RlbTMyXFdpbmRvd3NQb3dlclNoZWxsXHYxLjBcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcQ29tbW9uIEZpbGVzXEFjcm9uaXNcRmlsZVByb3RlY3Rvclw7QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXNcQWNyb25pc1xGaWxlUHJvdGVjdG9yNjRcO0M6XFByb2dyYW0gRmlsZXNcbm9kZWpzXDtDOlxVc2Vyc1xBbmRyaXlcY21kO0M6XFVzZXJzXEFuZHJpeVxBcHBEYXRhXExvY2FsXE1pY3Jvc29mdFxXaW5kb3dzQXBwcztDOlxVc2Vyc1xBbmRyaXlcQXBwRGF0YQ==]]></property><property name="PATHEXT" fullname="$_SERVER[&quot;PATHEXT&quot;]" type="string" size="53" encoding="base64"><![CDATA[LkNPTTsuRVhFOy5CQVQ7LkNNRDsuVkJTOy5WQkU7LkpTOy5KU0U7LldTRjsuV1NIOy5NU0M=]]></property><property name="PROCESSOR_ARCHITECTURE" fullname="$_SERVER[&quot;PROCESSOR_ARCHITECTURE&quot;]" type="string" size="3" encoding="base64"><![CDATA[eDg2]]></property><property name="PROCESSOR_ARCHITEW6432" fullname="$_SERVER[&quot;PROCESSOR_ARCHITEW6432&quot;]" type="string" size="5" encoding="base64"><![CDATA[QU1ENjQ=]]></property><property name="PROCESSOR_IDENTIFIER" fullname="$_SERVER[&quot;PROCESSOR_IDENTIFIER&quot;]" type="string" size="50" encoding="base64"><![CDATA[SW50ZWw2NCBGYW1pbHkgNiBNb2RlbCA1OCBTdGVwcGluZyA5LCBHZW51aW5lSW50ZWw=]]></property><property name="PROCESSOR_LEVEL" fullname="$_SERVER[&quot;PROCESSOR_LEVEL&quot;]" type="string" size="1" encoding="base64"><![CDATA[Ng==]]></property><property name="PROCESSOR_REVISION" fullname="$_SERVER[&quot;PROCESSOR_REVISION&quot;]" type="string" size="4" encoding="base64"><![CDATA[M2EwOQ==]]></property><property name="ProgramData" fullname="$_SERVER[&quot;ProgramData&quot;]" type="string" size="14" encoding="base64"><![CDATA[QzpcUHJvZ3JhbURhdGE=]]></property><property name="ProgramFiles" fullname="$_SERVER[&quot;ProgramFiles&quot;]" type="string" size="22" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KQ==]]></property><property name="ProgramFiles(x86)" fullname="$_SERVER[&quot;ProgramFiles(x86)&quot;]" type="string" size="22" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KQ==]]></property><property name="ProgramW6432" fullname="$_SERVER[&quot;ProgramW6432&quot;]" type="string" size="16" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcw==]]></property><property name="PSModulePath" fullname="$_SERVER[&quot;PSModulePath&quot;]" type="string" size="167" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlc1xXaW5kb3dzUG93ZXJTaGVsbFxNb2R1bGVzO0M6XFdJTkRPV1Ncc3lzdGVtMzJcV2luZG93c1Bvd2VyU2hlbGxcdjEuMFxNb2R1bGVzO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTWljcm9zb2Z0IFNRTCBTZXJ2ZXJcMTMwXFRvb2xzXFBvd2VyU2hlbGxcTW9kdWxlc1w=]]></property><property name="PUBLIC" fullname="$_SERVER[&quot;PUBLIC&quot;]" type="string" size="15" encoding="base64"><![CDATA[QzpcVXNlcnNcUHVibGlj]]></property><property name="SESSIONNAME" fullname="$_SERVER[&quot;SESSIONNAME&quot;]" type="string" size="7" encoding="base64"><![CDATA[Q29uc29sZQ==]]></property><property name="SystemDrive" fullname="$_SERVER[&quot;SystemDrive&quot;]" type="string" size="2" encoding="base64"><![CDATA[Qzo=]]></property><property name="SystemRoot" fullname="$_SERVER[&quot;SystemRoot&quot;]" type="string" size="10" encoding="base64"><![CDATA[QzpcV0lORE9XUw==]]></property><property name="TEMP" fullname="$_SERVER[&quot;TEMP&quot;]" type="string" size="7" encoding="base64"><![CDATA[RDpcVGVtcA==]]></property><property name="TMP" fullname="$_SERVER[&quot;TMP&quot;]" type="string" size="7" encoding="base64"><![CDATA[RDpcVGVtcA==]]></property><property name="USERDOMAIN" fullname="$_SERVER[&quot;USERDOMAIN&quot;]" type="string" size="9" encoding="base64"><![CDATA[QkFaWklLT05F]]></property><property name="USERDOMAIN_ROAMINGPROFILE" fullname="$_SERVER[&quot;USERDOMAIN_ROAMINGPROFILE&quot;]" type="string" size="9" encoding="base64"><![CDATA[QkFaWklLT05F]]></property><property name="USERNAME" fullname="$_SERVER[&quot;USERNAME&quot;]" type="string" size="6" encoding="base64"><![CDATA[QW5kcml5]]></property><property name="USERPROFILE" fullname="$_SERVER[&quot;USERPROFILE&quot;]" type="string" size="15" encoding="base64"><![CDATA[QzpcVXNlcnNcQW5kcml5]]></property><property name="windir" fullname="$_SERVER[&quot;windir&quot;]" type="string" size="10" encoding="base64"><![CDATA[QzpcV0lORE9XUw==]]></property><property name="XDEBUG_CONFIG" fullname="$_SERVER[&quot;XDEBUG_CONFIG&quot;]" type="string" size="12" encoding="base64"><![CDATA[aWRla2V5PTEzMTk1]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="PATH_TRANSLATED" fullname="$_SERVER[&quot;PATH_TRANSLATED&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[1527864437.5097]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[1527864437]]></property><property name="argv" fullname="$_SERVER[&quot;argv&quot;]" type="array" children="1" numchildren="1"></property><property name="argc" fullname="$_SERVER[&quot;argc&quot;]" type="int"><![CDATA[1]]></property></property></response>

<- context_get -i 14 -d 0 -c 2
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="14" context="2"></response>

<- run -i 15
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="15" status="stopping" reason="ok"></response>

<- run -i 16
Log closed at 2018-06-01 14:47:24

The same but via browser (PHP 7.2.5 nts; IIS)

Log opened at 2018-06-01 14:51:47
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:///E:/Projects/web/_idetest/test.php" language="PHP" xdebug:language_version="7.2.3-dev" protocol_version="1.0" appid="5876" idekey="16803"><engine version="2.6.0"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2018 by Derick Rethans]]></copyright></init>

<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>

<- feature_set -i 2 -n max_depth -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>

<- feature_set -i 3 -n max_children -v 100
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>

<- feature_set -i 4 -n extended_properties -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" feature="extended_properties" success="1"></response>

<- feature_set -i 5 -n notify_ok -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" feature="notify_ok" success="1"></response>

<- stdout -i 6 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="6" success="1"></response>

<- status -i 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="status" transaction_id="7" status="starting" reason="ok"></response>

<- step_into -i 8
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="8" status="break" reason="ok"><xdebug:message filename="file:///E:/Projects/web/_idetest/test.php" lineno="3"></xdebug:message></response>

<- breakpoint_set -i 9 -t line -f file://E:/Projects/web/_idetest/test.php -n 4
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="9" id="58760001"></response>

<- stack_get -i 10
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="10"><stack where="{main}" level="0" type="file" filename="file:///E:/Projects/web/_idetest/test.php" lineno="3"></stack></response>

<- run -i 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="11" status="break" reason="ok"><xdebug:message filename="file:///E:/Projects/web/_idetest/test.php" lineno="4"></xdebug:message></response>

<- stack_get -i 12
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="12"><stack where="{main}" level="0" type="file" filename="file:///E:/Projects/web/_idetest/test.php" lineno="4"></stack></response>

<- context_names -i 13
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="13"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>

<- context_get -i 14 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="14" context="0"><property name="$a" fullname="$a" type="int"><![CDATA[1]]></property><property name="$b" fullname="$b" type="uninitialized"></property><property name="$c" fullname="$c" type="uninitialized"></property></response>

<- context_get -i 15 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="15" context="1"><property name="$_COOKIE" fullname="$_COOKIE" type="array" children="1" numchildren="1" page="0" pagesize="100"><property name="XDEBUG_SESSION" fullname="$_COOKIE[&quot;XDEBUG_SESSION&quot;]" type="string" size="8" encoding="base64"><![CDATA[UEhQU1RPUk0=]]></property></property><property name="$_ENV" fullname="$_ENV" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_FILES" fullname="$_FILES" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_GET" fullname="$_GET" type="array" children="1" numchildren="1" page="0" pagesize="100"><property name="XDEBUG_SESSION_START" fullname="$_GET[&quot;XDEBUG_SESSION_START&quot;]" type="string" size="5" encoding="base64"><![CDATA[MTY4MDM=]]></property></property><property name="$_POST" fullname="$_POST" type="array" children="0" numchildren="0" page="0" pagesize="100"></property><property name="$_REQUEST" fullname="$_REQUEST" type="array" children="1" numchildren="1" page="0" pagesize="100"><property name="XDEBUG_SESSION_START" fullname="$_REQUEST[&quot;XDEBUG_SESSION_START&quot;]" type="string" size="5" encoding="base64"><![CDATA[MTY4MDM=]]></property></property><property name="$_SERVER" fullname="$_SERVER" type="array" children="1" numchildren="92" page="0" pagesize="100"><property name="PROCESSOR_ARCHITEW6432" fullname="$_SERVER[&quot;PROCESSOR_ARCHITEW6432&quot;]" type="string" size="5" encoding="base64"><![CDATA[QU1ENjQ=]]></property><property name="_FCGI_X_PIPE_" fullname="$_SERVER[&quot;_FCGI_X_PIPE_&quot;]" type="string" size="53" encoding="base64"><![CDATA[XFwuXHBpcGVcSUlTRkNHSS03NDEyODViMC0yODU2LTRhYzEtYjdiYS1hYjY5ZGViMTBkNDk=]]></property><property name="PHPRC" fullname="$_SERVER[&quot;PHPRC&quot;]" type="string" size="22" encoding="base64"><![CDATA[RTpcUHJvamVjdHNccGhwXHBocDcyXA==]]></property><property name="PHP_FCGI_MAX_REQUESTS" fullname="$_SERVER[&quot;PHP_FCGI_MAX_REQUESTS&quot;]" type="string" size="5" encoding="base64"><![CDATA[MTAwMDA=]]></property><property name="ALLUSERSPROFILE" fullname="$_SERVER[&quot;ALLUSERSPROFILE&quot;]" type="string" size="14" encoding="base64"><![CDATA[QzpcUHJvZ3JhbURhdGE=]]></property><property name="APPDATA" fullname="$_SERVER[&quot;APPDATA&quot;]" type="string" size="56" encoding="base64"><![CDATA[QzpcV0lORE9XU1xzeXN0ZW0zMlxjb25maWdcc3lzdGVtcHJvZmlsZVxBcHBEYXRhXFJvYW1pbmc=]]></property><property name="APP_POOL_CONFIG" fullname="$_SERVER[&quot;APP_POOL_CONFIG&quot;]" type="string" size="61" encoding="base64"><![CDATA[QzpcaW5ldHB1Ylx0ZW1wXGFwcHBvb2xzXERlZmF1bHRBcHBQb29sXERlZmF1bHRBcHBQb29sLmNvbmZpZw==]]></property><property name="APP_POOL_ID" fullname="$_SERVER[&quot;APP_POOL_ID&quot;]" type="string" size="14" encoding="base64"><![CDATA[RGVmYXVsdEFwcFBvb2w=]]></property><property name="asl_log" fullname="$_SERVER[&quot;asl_log&quot;]" type="string" size="16" encoding="base64"><![CDATA[RGVzdGluYXRpb249ZmlsZQ==]]></property><property name="CommonProgramFiles" fullname="$_SERVER[&quot;CommonProgramFiles&quot;]" type="string" size="35" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXM=]]></property><property name="CommonProgramFiles(x86)" fullname="$_SERVER[&quot;CommonProgramFiles(x86)&quot;]" type="string" size="35" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXM=]]></property><property name="CommonProgramW6432" fullname="$_SERVER[&quot;CommonProgramW6432&quot;]" type="string" size="29" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlc1xDb21tb24gRmlsZXM=]]></property><property name="COMPUTERNAME" fullname="$_SERVER[&quot;COMPUTERNAME&quot;]" type="string" size="9" encoding="base64"><![CDATA[QkFaWklLT05F]]></property><property name="ComSpec" fullname="$_SERVER[&quot;ComSpec&quot;]" type="string" size="27" encoding="base64"><![CDATA[QzpcV0lORE9XU1xzeXN0ZW0zMlxjbWQuZXhl]]></property><property name="LOCALAPPDATA" fullname="$_SERVER[&quot;LOCALAPPDATA&quot;]" type="string" size="54" encoding="base64"><![CDATA[QzpcV0lORE9XU1xzeXN0ZW0zMlxjb25maWdcc3lzdGVtcHJvZmlsZVxBcHBEYXRhXExvY2Fs]]></property><property name="NUMBER_OF_PROCESSORS" fullname="$_SERVER[&quot;NUMBER_OF_PROCESSORS&quot;]" type="string" size="1" encoding="base64"><![CDATA[NA==]]></property><property name="OS" fullname="$_SERVER[&quot;OS&quot;]" type="string" size="10" encoding="base64"><![CDATA[V2luZG93c19OVA==]]></property><property name="Path" fullname="$_SERVER[&quot;Path&quot;]" type="string" size="1005" encoding="base64"><![CDATA[QzpcV2luZG93c1xzeXN0ZW0zMjtDOlxXaW5kb3dzO0M6XFdpbmRvd3NcU3lzdGVtMzJcV2JlbTtDOlxXaW5kb3dzXFN5c3RlbTMyXFdpbmRvd3NQb3dlclNoZWxsXHYxLjBcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTlZJRElBIENvcnBvcmF0aW9uXFBoeXNYXENvbW1vbjtFOlxQcm9qZWN0c1xwaHBccGhwO0M6XFByb2dyYW1EYXRhXENvbXBvc2VyU2V0dXBcYmluO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTWljcm9zb2Z0IFNRTCBTZXJ2ZXJcQ2xpZW50IFNES1xPREJDXDEzMFxUb29sc1xCaW5uXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXE1pY3Jvc29mdCBTUUwgU2VydmVyXDEzMFxUb29sc1xCaW5uXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXE1pY3Jvc29mdCBTUUwgU2VydmVyXDEzMFxEVFNcQmlublw7QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxNaWNyb3NvZnQgU1FMIFNlcnZlclwxMzBcVG9vbHNcQmlublxNYW5hZ2VtZW50U3R1ZGlvXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXFNreXBlXFBob25lXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXENvbW1vbiBGaWxlc1xBY3JvbmlzXFZpcnR1YWxGaWxlXDtDOlxQcm9ncmFtIEZpbGVzICh4ODYpXENvbW1vbiBGaWxlc1xBY3JvbmlzXFZpcnR1YWxGaWxlNjRcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcQ29tbW9uIEZpbGVzXEFjcm9uaXNcU25hcEFQSVw7QzpcV0lORE9XU1xzeXN0ZW0zMjtDOlxXSU5ET1dTO0M6XFdJTkRPV1NcU3lzdGVtMzJcV2JlbTtDOlxXSU5ET1dTXFN5c3RlbTMyXFdpbmRvd3NQb3dlclNoZWxsXHYxLjBcO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcQ29tbW9uIEZpbGVzXEFjcm9uaXNcRmlsZVByb3RlY3Rvclw7QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxDb21tb24gRmlsZXNcQWNyb25pc1xGaWxlUHJvdGVjdG9yNjRcO0M6XFByb2dyYW0gRmlsZXNcbm9kZWpzXDtDOlxXSU5ET1dTXHN5c3RlbTMyXGNvbmZpZ1xzeXN0ZW1wcm9maWxlXEFwcERhdGFcTG9jYWxcTWljcm9zb2Z0XFdpbmRvd3NBcHBz]]></property><property name="PATHEXT" fullname="$_SERVER[&quot;PATHEXT&quot;]" type="string" size="53" encoding="base64"><![CDATA[LkNPTTsuRVhFOy5CQVQ7LkNNRDsuVkJTOy5WQkU7LkpTOy5KU0U7LldTRjsuV1NIOy5NU0M=]]></property><property name="PROCESSOR_ARCHITECTURE" fullname="$_SERVER[&quot;PROCESSOR_ARCHITECTURE&quot;]" type="string" size="3" encoding="base64"><![CDATA[eDg2]]></property><property name="PROCESSOR_IDENTIFIER" fullname="$_SERVER[&quot;PROCESSOR_IDENTIFIER&quot;]" type="string" size="50" encoding="base64"><![CDATA[SW50ZWw2NCBGYW1pbHkgNiBNb2RlbCA1OCBTdGVwcGluZyA5LCBHZW51aW5lSW50ZWw=]]></property><property name="PROCESSOR_LEVEL" fullname="$_SERVER[&quot;PROCESSOR_LEVEL&quot;]" type="string" size="1" encoding="base64"><![CDATA[Ng==]]></property><property name="PROCESSOR_REVISION" fullname="$_SERVER[&quot;PROCESSOR_REVISION&quot;]" type="string" size="4" encoding="base64"><![CDATA[M2EwOQ==]]></property><property name="ProgramData" fullname="$_SERVER[&quot;ProgramData&quot;]" type="string" size="14" encoding="base64"><![CDATA[QzpcUHJvZ3JhbURhdGE=]]></property><property name="ProgramFiles" fullname="$_SERVER[&quot;ProgramFiles&quot;]" type="string" size="22" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KQ==]]></property><property name="ProgramFiles(x86)" fullname="$_SERVER[&quot;ProgramFiles(x86)&quot;]" type="string" size="22" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcyAoeDg2KQ==]]></property><property name="ProgramW6432" fullname="$_SERVER[&quot;ProgramW6432&quot;]" type="string" size="16" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlcw==]]></property><property name="PSModulePath" fullname="$_SERVER[&quot;PSModulePath&quot;]" type="string" size="167" encoding="base64"><![CDATA[QzpcUHJvZ3JhbSBGaWxlc1xXaW5kb3dzUG93ZXJTaGVsbFxNb2R1bGVzO0M6XFdJTkRPV1Ncc3lzdGVtMzJcV2luZG93c1Bvd2VyU2hlbGxcdjEuMFxNb2R1bGVzO0M6XFByb2dyYW0gRmlsZXMgKHg4NilcTWljcm9zb2Z0IFNRTCBTZXJ2ZXJcMTMwXFRvb2xzXFBvd2VyU2hlbGxcTW9kdWxlc1w=]]></property><property name="PUBLIC" fullname="$_SERVER[&quot;PUBLIC&quot;]" type="string" size="15" encoding="base64"><![CDATA[QzpcVXNlcnNcUHVibGlj]]></property><property name="SystemDrive" fullname="$_SERVER[&quot;SystemDrive&quot;]" type="string" size="2" encoding="base64"><![CDATA[Qzo=]]></property><property name="SystemRoot" fullname="$_SERVER[&quot;SystemRoot&quot;]" type="string" size="10" encoding="base64"><![CDATA[QzpcV0lORE9XUw==]]></property><property name="TEMP" fullname="$_SERVER[&quot;TEMP&quot;]" type="string" size="15" encoding="base64"><![CDATA[QzpcV0lORE9XU1xURU1Q]]></property><property name="TMP" fullname="$_SERVER[&quot;TMP&quot;]" type="string" size="15" encoding="base64"><![CDATA[QzpcV0lORE9XU1xURU1Q]]></property><property name="USERDOMAIN" fullname="$_SERVER[&quot;USERDOMAIN&quot;]" type="string" size="9" encoding="base64"><![CDATA[V09SS0dST1VQ]]></property><property name="USERNAME" fullname="$_SERVER[&quot;USERNAME&quot;]" type="string" size="10" encoding="base64"><![CDATA[QkFaWklLT05FJA==]]></property><property name="USERPROFILE" fullname="$_SERVER[&quot;USERPROFILE&quot;]" type="string" size="40" encoding="base64"><![CDATA[QzpcV0lORE9XU1xzeXN0ZW0zMlxjb25maWdcc3lzdGVtcHJvZmlsZQ==]]></property><property name="windir" fullname="$_SERVER[&quot;windir&quot;]" type="string" size="10" encoding="base64"><![CDATA[QzpcV0lORE9XUw==]]></property><property name="ORIG_PATH_INFO" fullname="$_SERVER[&quot;ORIG_PATH_INFO&quot;]" type="string" size="9" encoding="base64"><![CDATA[L3Rlc3QucGhw]]></property><property name="URL" fullname="$_SERVER[&quot;URL&quot;]" type="string" size="9" encoding="base64"><![CDATA[L3Rlc3QucGhw]]></property><property name="SERVER_SOFTWARE" fullname="$_SERVER[&quot;SERVER_SOFTWARE&quot;]" type="string" size="18" encoding="base64"><![CDATA[TWljcm9zb2Z0LUlJUy8xMC4w]]></property><property name="SERVER_PROTOCOL" fullname="$_SERVER[&quot;SERVER_PROTOCOL&quot;]" type="string" size="8" encoding="base64"><![CDATA[SFRUUC8xLjE=]]></property><property name="SERVER_PORT_SECURE" fullname="$_SERVER[&quot;SERVER_PORT_SECURE&quot;]" type="string" size="1" encoding="base64"><![CDATA[MA==]]></property><property name="SERVER_PORT" fullname="$_SERVER[&quot;SERVER_PORT&quot;]" type="string" size="2" encoding="base64"><![CDATA[ODA=]]></property><property name="SERVER_NAME" fullname="$_SERVER[&quot;SERVER_NAME&quot;]" type="string" size="18" encoding="base64"><![CDATA[aWRldGVzdC5sb2NhbC50ZXN0]]></property><property name="SCRIPT_NAME" fullname="$_SERVER[&quot;SCRIPT_NAME&quot;]" type="string" size="9" encoding="base64"><![CDATA[L3Rlc3QucGhw]]></property><property name="SCRIPT_FILENAME" fullname="$_SERVER[&quot;SCRIPT_FILENAME&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="REQUEST_URI" fullname="$_SERVER[&quot;REQUEST_URI&quot;]" type="string" size="36" encoding="base64"><![CDATA[L3Rlc3QucGhwP1hERUJVR19TRVNTSU9OX1NUQVJUPTE2ODAz]]></property><property name="REQUEST_METHOD" fullname="$_SERVER[&quot;REQUEST_METHOD&quot;]" type="string" size="3" encoding="base64"><![CDATA[R0VU]]></property><property name="REMOTE_USER" fullname="$_SERVER[&quot;REMOTE_USER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="REMOTE_PORT" fullname="$_SERVER[&quot;REMOTE_PORT&quot;]" type="string" size="5" encoding="base64"><![CDATA[NjAzNTM=]]></property><property name="REMOTE_HOST" fullname="$_SERVER[&quot;REMOTE_HOST&quot;]" type="string" size="9" encoding="base64"><![CDATA[MTI3LjAuMC4x]]></property><property name="REMOTE_ADDR" fullname="$_SERVER[&quot;REMOTE_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[MTI3LjAuMC4x]]></property><property name="QUERY_STRING" fullname="$_SERVER[&quot;QUERY_STRING&quot;]" type="string" size="26" encoding="base64"><![CDATA[WERFQlVHX1NFU1NJT05fU1RBUlQ9MTY4MDM=]]></property><property name="PATH_TRANSLATED" fullname="$_SERVER[&quot;PATH_TRANSLATED&quot;]" type="string" size="33" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XHRlc3QucGhw]]></property><property name="LOGON_USER" fullname="$_SERVER[&quot;LOGON_USER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="LOCAL_ADDR" fullname="$_SERVER[&quot;LOCAL_ADDR&quot;]" type="string" size="9" encoding="base64"><![CDATA[MTI3LjAuMC4x]]></property><property name="INSTANCE_META_PATH" fullname="$_SERVER[&quot;INSTANCE_META_PATH&quot;]" type="string" size="11" encoding="base64"><![CDATA[L0xNL1czU1ZDLzE=]]></property><property name="INSTANCE_NAME" fullname="$_SERVER[&quot;INSTANCE_NAME&quot;]" type="string" size="7" encoding="base64"><![CDATA[SURFVEVTVA==]]></property><property name="INSTANCE_ID" fullname="$_SERVER[&quot;INSTANCE_ID&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTPS_SERVER_SUBJECT" fullname="$_SERVER[&quot;HTTPS_SERVER_SUBJECT&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="HTTPS_SERVER_ISSUER" fullname="$_SERVER[&quot;HTTPS_SERVER_ISSUER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="HTTPS_SECRETKEYSIZE" fullname="$_SERVER[&quot;HTTPS_SECRETKEYSIZE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="HTTPS_KEYSIZE" fullname="$_SERVER[&quot;HTTPS_KEYSIZE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="HTTPS" fullname="$_SERVER[&quot;HTTPS&quot;]" type="string" size="3" encoding="base64"><![CDATA[b2Zm]]></property><property name="GATEWAY_INTERFACE" fullname="$_SERVER[&quot;GATEWAY_INTERFACE&quot;]" type="string" size="7" encoding="base64"><![CDATA[Q0dJLzEuMQ==]]></property><property name="DOCUMENT_ROOT" fullname="$_SERVER[&quot;DOCUMENT_ROOT&quot;]" type="string" size="24" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0]]></property><property name="CONTENT_TYPE" fullname="$_SERVER[&quot;CONTENT_TYPE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CONTENT_LENGTH" fullname="$_SERVER[&quot;CONTENT_LENGTH&quot;]" type="string" size="1" encoding="base64"><![CDATA[MA==]]></property><property name="CERT_SUBJECT" fullname="$_SERVER[&quot;CERT_SUBJECT&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CERT_SERIALNUMBER" fullname="$_SERVER[&quot;CERT_SERIALNUMBER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CERT_ISSUER" fullname="$_SERVER[&quot;CERT_ISSUER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CERT_FLAGS" fullname="$_SERVER[&quot;CERT_FLAGS&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="CERT_COOKIE" fullname="$_SERVER[&quot;CERT_COOKIE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="AUTH_USER" fullname="$_SERVER[&quot;AUTH_USER&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="AUTH_PASSWORD" fullname="$_SERVER[&quot;AUTH_PASSWORD&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="AUTH_TYPE" fullname="$_SERVER[&quot;AUTH_TYPE&quot;]" type="string" size="0" encoding="base64"><![CDATA[]]></property><property name="APPL_PHYSICAL_PATH" fullname="$_SERVER[&quot;APPL_PHYSICAL_PATH&quot;]" type="string" size="25" encoding="base64"><![CDATA[RTpcUHJvamVjdHNcd2ViXF9pZGV0ZXN0XA==]]></property><property name="APPL_MD_PATH" fullname="$_SERVER[&quot;APPL_MD_PATH&quot;]" type="string" size="16" encoding="base64"><![CDATA[L0xNL1czU1ZDLzEvUk9PVA==]]></property><property name="IIS_UrlRewriteModule" fullname="$_SERVER[&quot;IIS_UrlRewriteModule&quot;]" type="string" size="10" encoding="base64"><![CDATA[Ny4xLjE5NTIuMA==]]></property><property name="HTTP_UPGRADE_INSECURE_REQUESTS" fullname="$_SERVER[&quot;HTTP_UPGRADE_INSECURE_REQUESTS&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_DNT" fullname="$_SERVER[&quot;HTTP_DNT&quot;]" type="string" size="1" encoding="base64"><![CDATA[MQ==]]></property><property name="HTTP_USER_AGENT" fullname="$_SERVER[&quot;HTTP_USER_AGENT&quot;]" type="string" size="78" encoding="base64"><![CDATA[TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjAuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82MC4w]]></property><property name="HTTP_HOST" fullname="$_SERVER[&quot;HTTP_HOST&quot;]" type="string" size="18" encoding="base64"><![CDATA[aWRldGVzdC5sb2NhbC50ZXN0]]></property><property name="HTTP_COOKIE" fullname="$_SERVER[&quot;HTTP_COOKIE&quot;]" type="string" size="23" encoding="base64"><![CDATA[WERFQlVHX1NFU1NJT049UEhQU1RPUk0=]]></property><property name="HTTP_ACCEPT_LANGUAGE" fullname="$_SERVER[&quot;HTTP_ACCEPT_LANGUAGE&quot;]" type="string" size="32" encoding="base64"><![CDATA[ZW4tR0IsZW47cT0wLjgscnU7cT0wLjUsdWs7cT0wLjM=]]></property><property name="HTTP_ACCEPT_ENCODING" fullname="$_SERVER[&quot;HTTP_ACCEPT_ENCODING&quot;]" type="string" size="13" encoding="base64"><![CDATA[Z3ppcCwgZGVmbGF0ZQ==]]></property><property name="HTTP_ACCEPT" fullname="$_SERVER[&quot;HTTP_ACCEPT&quot;]" type="string" size="63" encoding="base64"><![CDATA[dGV4dC9odG1sLGFwcGxpY2F0aW9uL3hodG1sK3htbCxhcHBsaWNhdGlvbi94bWw7cT0wLjksKi8qO3E9MC44]]></property><property name="HTTP_CONNECTION" fullname="$_SERVER[&quot;HTTP_CONNECTION&quot;]" type="string" size="10" encoding="base64"><![CDATA[a2VlcC1hbGl2ZQ==]]></property><property name="FCGI_ROLE" fullname="$_SERVER[&quot;FCGI_ROLE&quot;]" type="string" size="9" encoding="base64"><![CDATA[UkVTUE9OREVS]]></property><property name="PHP_SELF" fullname="$_SERVER[&quot;PHP_SELF&quot;]" type="string" size="9" encoding="base64"><![CDATA[L3Rlc3QucGhw]]></property><property name="REQUEST_TIME_FLOAT" fullname="$_SERVER[&quot;REQUEST_TIME_FLOAT&quot;]" type="float"><![CDATA[1527864707.329]]></property><property name="REQUEST_TIME" fullname="$_SERVER[&quot;REQUEST_TIME&quot;]" type="int"><![CDATA[1527864707]]></property></property></response>

<- context_get -i 16 -d 0 -c 2
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="16" context="2"></response>

<- run -i 17
-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[WC1Qb3dlcmVkLUJ5OiBQSFAvNy4yLjU=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[U2V0LUNvb2tpZTogWERFQlVHX1NFU1NJT049MTY4MDM7IGV4cGlyZXM9RnJpLCAwMS1KdW4tMjAxOCAxNTo1MTo0NyBHTVQ7IE1heC1BZ2U9MzYwMDsgcGF0aD0v]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[Q29udGVudC10eXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9VVRGLTg=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[DQo=]]></stream>

-> <stream xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" type="stdout" encoding="base64"><![CDATA[Mw==]]></stream>

-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="17" status="stopping" reason="ok"></response>

<- run -i 18
Log closed at 2018-06-01 14:51:51

 

0

If it's a firewall .. then it should be some new to me stuff ...

But you may try to disable the firewall completely during a test .. and use Windows apps/host only (no Linux).

Same with antivirus -- try disabling it if you have some Internet Security package or whatnot.

No better suggestions right now...

1

The relevent IDE log

 

2018-06-01 09:21:40,990 [ 517044]  DEBUG - il.connection.ServerConnection - Incoming connection on port 6799 from 15.86.211.12 
2018-06-01 09:21:41,080 [ 517134] DEBUG - .connection.PhpDebugConnection - 730633982#----connection started
2018-06-01 09:21:45,623 [ 521677] DEBUG - .connection.PhpDebugConnection - 730633982#---Read timed out
2018-06-01 09:21:45,624 [ 521678] DEBUG - .connection.PhpDebugConnection - 730633982#---stop reading
2018-06-01 09:21:45,624 [ 521678] DEBUG - .connection.PhpDebugConnection - 730633982#---stop writing
2018-06-01 09:21:45,624 [ 521678] DEBUG - .connection.PhpDebugConnection - 730633982#----connection stopped
2018-06-01 09:21:45,628 [ 521682] DEBUG - .connection.PhpDebugConnection - 730633982#---Stop detaching
2018-06-01 09:21:45,628 [ 521682] DEBUG - il.connection.ServerConnection - ----socket closed

Server side log remains the same

 

We are definitely not receiving the data from the server at the breakpoints.

 

> 1 + 2

 

That was my exact reasoning for discounting the firewall initially.

 

However, being that we have a disconnect at the same location from 3 unique independent servers, and that it happened with 2 different versions of PHPStorm. I think the problem is either firewall, antivirus or network blockages. Since firewall and antivirus will be checked by the same process (McAfee) I'll start there.

 

Being that McAfee is controlled by Corporate IT through McAfee, it may take some time to get that one disabled. I did start that process today... 

 

Thanks again for the time and ideas you gave Andriy! You helped narrow it down further.

I'll keep you posted. 

0

A quick update for you.

 

We are reasonably sure it isn't a firewall, antivirus, or something on my local environment, as we disabled everything we could find and it still wouldn't connect. We are looking into a recent networking security rule change that may have effected it.

 

However, a much more useful find...

 

I did some tinkering around, and tried a manual debugging session. IT WORKED!!!

steps: 

-Find Edit Configurations (use search or use the debugger drop down)

-Press add button

-Select PHP Remote Debug

-Selelct a server  --  I just set it to the existing server I have been using for my current environment.

-Enter your IDE key used by Xdebug helper extension

-Apply

 

To run:

- Select the debug config you just created (mine is a generic 'manual' configuration I just use as default for whatever file I am working on at the time)

- Run the debugger (click the bug) -- this will manually open a debug session

- Load the page with xdebug enabled and break points set

 

Slightly more involved then just listening for debug sessions, but not so cumbersome that it won't work till we figure out the original cause.

 

 

Anybody have any suggestions for why the automatic debugger system won't respond, but this manual connection seems to work correctly?

Thanks!

 

P.S. The environment from above hasn't changed significantly

0

>Anybody have any suggestions for why the automatic debugger system won't respond, but this manual connection seems to work correctly?

Based on the logs you have provided before -- communication happens -- IDE talks to Xdebug and it responds back. Just then after few initial commands it breaks for no obvious reason (and I have no idea at what side it's happening: Xdebug or IDE).

Based on my experience -- there should be no difference on how the session was invoked: via cookie (set by browser extension) or via GET parameter (added to URL by IDE).

0

I'm having a similar issue where, if I don't have any breakpoints set, but debugging on, it will break all requests from the browser. They seem to return 200 OK, but with no content.

I tried turning on "Break at first line in PHP scripts", and it correctly pauses at that spot, but when I hit continue, it again fails to do anything after a while.

I can step through the code, and everything seems to work fine as I'm stepping through it, but as soon as I hit the play button, it fails.

Here is a copy of my xdebug.log:

The thing I find interesting, is the eval -i 31 line, that has the base64 encoded string that says "IDE_EVAL_ERR". Not sure what causes that, but it seems to cause everything else to fail.

<pre>

Log opened at 2018-06-20 16:41:54
I: Connecting to configured address/port: 10.131.41.210:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///gui/dsweb/webroot/index.php" language="PHP" protocol_version="1.0" appid="21958" idekey="PHPSTORM"><engine version="2.2.3"><![CDATA[Xdebug]]></engine><author><![CDATA[Derick Rethans]]></author><url><![CDATA[http://xdebug.org]]></url><copyright><![CDATA[Copyright (c) 2002-2013 by Derick Rethans]]></copyright></init>

<- feature_set -i 1 -n show_hidden -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="1" feature="show_hidden" success="1"></response>

<- feature_set -i 2 -n max_depth -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="2" feature="max_depth" success="1"></response>

<- feature_set -i 3 -n max_children -v 100
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="3" feature="max_children" success="1"></response>

<- feature_set -i 4 -n extended_properties -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="4" status="starting" reason="ok"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>

<- feature_set -i 5 -n notify_ok -v 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_set" transaction_id="5" status="starting" reason="ok"><error code="3"><message><![CDATA[invalid or missing options]]></message></error></response>

<- stdout -i 6 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stdout" transaction_id="6" success="1"></response>

<- status -i 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="status" transaction_id="7" status="starting" reason="ok"></response>

<- step_into -i 8
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_into" transaction_id="8" status="break" reason="ok"><xdebug:message filename="file:///gui/dsweb/webroot/index.php" lineno="27"></xdebug:message></response>

<- eval -i 9 -- aXNzZXQoJF9TRVJWRVJbJ1BIUF9JREVfQ09ORklHJ10p
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="9"><property address="140737488338432" type="bool"><![CDATA[0]]></property></response>

<- eval -i 10 -- aXNzZXQoJF9TRVJWRVJbJ1NFUlZFUl9OQU1FJ10p
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="10"><property address="140737488338432" type="bool"><![CDATA[1]]></property></response>

<- eval -i 11 -- KHN0cmluZykoJF9TRVJWRVJbJ1NFUlZFUl9OQU1FJ10p
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="11"><property address="140737488338432" type="string" size="13" encoding="base64"><![CDATA[MTAuMTMxLjQxLjIxNQ==]]></property></response>

<- eval -i 12 -- KHN0cmluZykoJF9TRVJWRVJbJ1NFUlZFUl9QT1JUJ10p
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="12"><property address="140737488338432" type="string" size="3" encoding="base64"><![CDATA[NDQz]]></property></response>

<- eval -i 13 -- KHN0cmluZykoJF9TRVJWRVJbJ1JFUVVFU1RfVVJJJ10p
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="13"><property address="140737488338432" type="string" size="40" encoding="base64"><![CDATA[L3BjYXBfaW1wb3J0L2dldF9jb25uZWN0aW9ucy5qc29uP3BhZ2U9MA==]]></property></response>

... snip breakpoints ...

<- stack_get -i 26
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="26"><stack where="{main}" level="0" type="file" filename="file:///gui/dsweb/webroot/index.php" lineno="27"></stack></response>

<- stack_get -i 27
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="27"><stack where="{main}" level="0" type="file" filename="file:///gui/dsweb/webroot/index.php" lineno="27"></stack></response>

<- context_names -i 28
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="28"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context></response>

<- context_get -i 29 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="29" context="0"><property name="$Dispatcher" fullname="$Dispatcher" type="uninitialized"></property><property name="$failed" fullname="$failed" type="uninitialized"></property></response>

<- context_get -i 30 -d 0 -c 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="30" context="1">
<property name="$_COOKIE" fullname="$_COOKIE" address="140737352829808" type="array" children="1" numchildren="2" page="0" pagesize="100">
<property name="DSWEB" fullname="$_COOKIE[&#39;DSWEB&#39;]" address="140737352830528" type="string" size="26" encoding="base64"><![CDATA[... snip ...]]></property>
<property name="XDEBUG_SESSION" fullname="$_COOKIE[&#39;XDEBUG_SESSION&#39;]" address="140737352830856" type="string" size="8" encoding="base64"><![CDATA[UEhQU1RPUk0=]]></property>
</property>
<property name="$_ENV" fullname="$_ENV" address="140737352831320" type="array" children="0" numchildren="0" page="0" pagesize="100"></property>
<property name="$_FILES" fullname="$_FILES" address="140737352831096" type="array" children="0" numchildren="0" page="0" pagesize="100"></property>
<property name="$_GET" fullname="$_GET" address="140737352828088" type="array" children="1" numchildren="1" page="0" pagesize="100">
<property name="page" fullname="$_GET[&#39;page&#39;]" address="140737352828744" type="string" size="1" encoding="base64"><![CDATA[MA==]]></property>
</property>
<property name="$_POST" fullname="$_POST" address="140737352829584" type="array" children="0" numchildren="0" page="0" pagesize="100"></property>
<property name="$_REQUEST" fullname="$_REQUEST" address="140737352831544" type="array" children="1" numchildren="1" page="0" pagesize="100">
<property name="page" fullname="$_REQUEST[&#39;page&#39;]" address="140737352828744" type="string" size="1" encoding="base64"><![CDATA[MA==]]></property>
</property>
<property name="$_SERVER" fullname="$_SERVER" address="140737352831864" type="array" children="1" numchildren="74" page="0" pagesize="100">
... snip ...
</property>
</response>

<- eval -i 31 -- JEdMT0JBTFNbJ0lERV9FVkFMX0NBQ0hFJ11bJzE4YmMyYTQxLWYyYzgtNDAzZS04NTk4LTQyY2YyYWUyMTQ2ZSddPShpc3NldCgkdGhpcywkdGhpcy0+dGVtcGxhdGUpKT8oJHRoaXMtPnRlbXBsYXRlKToiSURFX0VWQUxfRVJSIg==
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="31"><property address="140737488338432" type="string" size="12" encoding="base64"><![CDATA[SURFX0VWQUxfRVJS]]></property></response>

<- run -i 32
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="run" transaction_id="32" status="stopping" reason="ok"></response>

<- run -i 33
Log closed at 2018-06-20 16:41:59

Log opened at 2018-06-20 16:42:44
I: Connecting to configured address/port: 10.131.41.210:9000.
E: Could not connect to client. :-(
Log closed at 2018-06-20 16:42:44

Log opened at 2018-06-20 16:42:46
I: Connecting to configured address/port: 10.131.41.210:9000.
E: Could not connect to client. :-(
Log closed at 2018-06-20 16:42:46

Log opened at 2018-06-20 16:42:46
I: Connecting to configured address/port: 10.131.41.210:9000.
E: Could not connect to client. :-(
Log closed at 2018-06-20 16:42:46

... snip hundreds of Could not connect messages ...

</pre>

0

I had a similar problem where after upgrading from 2018.2.2 -> 2018.2.4 caused xdebug not to work. The problem was caused by windows firewall. 

When you start your very first debug session after upgrading, there is a firewall confirmation popup. something like the image in OP https://superuser.com/questions/1104599/firewall-pop-up-notifications-wont-go-away-windows-10

Make sure public network checkbox is checked.

that fixed it for me.

0

Please sign in to leave a comment.