Skip to content

Instantly share code, notes, and snippets.

@nathanielks
Created May 2, 2018 23:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanielks/fe2ff0422e538c64134b3bb36ca63616 to your computer and use it in GitHub Desktop.
Save nathanielks/fe2ff0422e538c64134b3bb36ca63616 to your computer and use it in GitHub Desktop.
Log opened at 2018-05-02 23:21:31
I: Checking remote connect back address.
I: Checking header 'HTTP_X_FORWARDED_FOR'.
I: Checking header 'REMOTE_ADDR'.
I: Remote address found, connecting to 192.168.50.1:9000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///srv/www/example.com/current/web/test.php" language="PHP" xdebug:language_version="7.2.2-1+ubuntu16.04.1+deb.sury.org+1" protocol_version="1.0" appid="2176" idekey="XDEBUG"><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>
<- breakpoint_list -i 1
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="1"></response>
<- breakpoint_set -i 2 -t line -f file:///srv/www/example.com/current/web/wp/wp-content/themes/twentyseventeen/index.php -n 18
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="2" id="21760033"></response>
<- breakpoint_list -i 3
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="3"><breakpoint type="line" filename="file:///srv/www/example.com/current/web/wp/wp-content/themes/twentyseventeen/index.php" lineno="18" state="enabled" hit_count="0" hit_value="0" id="21760033"></breakpoint></response>
<- breakpoint_list -i 4
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_list" transaction_id="4"><breakpoint type="line" filename="file:///srv/www/example.com/current/web/wp/wp-content/themes/twentyseventeen/index.php" lineno="18" state="enabled" hit_count="0" hit_value="0" id="21760033"></breakpoint></response>
<- breakpoint_set -i 5 -t exception -x *
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="5" id="21760034"></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:///srv/www/example.com/current/web/test.php" lineno="3"></xdebug:message></response>
<- stack_get -i 7
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="stack_get" transaction_id="7"><stack where="{main}" level="0" type="file" filename="file:///srv/www/example.com/current/web/test.php" lineno="3"></stack></response>
<- context_names -i 8 -d 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_names" transaction_id="8"><context name="Locals" id="0"></context><context name="Superglobals" id="1"></context><context name="User defined constants" id="2"></context></response>
<- context_get -i 9 -d 0 -c 0
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="context_get" transaction_id="9" context="0"></response>
<- eval -i 10 -- ZWNobyAndGVzdCc=
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="10" status="break" reason="ok"><xdebug:message filename="file:///srv/www/example.com/current/web/xdebug:/debug-eval" lineno="1" exception="ParseError"><![CDATA[syntax error, unexpected 'echo' (T_ECHO), expecting ';']]></xdebug:message></response>
<- step_over -i 11
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="eval" transaction_id="10" status="running" reason="ok"><error code="206"><message><![CDATA[error evaluating code]]></message></error></response>
-> <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>
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="step_over" transaction_id="11" status="stopping" reason="ok"></response>
Log closed at 2018-05-02 23:21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment