Eclipse没有连接到xdebug

时间:2016-11-08 12:01:51

标签: php eclipse xdebug

我无法从eclipse连接到xdebug。以下是我在php.ini中的xdebug配置

[xdebug]
zend_extension="/usr/local/opt/php56-xdebug/xdebug.so"
xdebug.remote_port=10000
xdebug.remote_enable=1
xdebug.remote_connect_back = On
xdebug.remote_host=127.0.0.1
xdebug.remote_log="/tmp/xdebug.log"

我正在关注登录xdebug.log

Log opened at 2016-11-08 11:55:46
I: Checking remote connect back address.
I: Checking header 'HTTP_X_FORWARDED_FOR'.
I: Checking header 'REMOTE_ADDR'.
I: Remote address found, connecting to 127.0.0.1:10000.
I: Connected to client. :-)
-> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///Library/WebServer/Documents/akeneo/pim-community-standard/web/app.php" language="PHP" xdebug:language_version="5.6.24" protocol_version="1.0" appid="6191" idekey="ECLIPSE_DBGP"><engine version="2.4.1"><![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>

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

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

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

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

<- feature_get -i 131 -n encoding
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="131" feature_name="encoding" supported="1"><![CDATA[iso-8859-1]]></response>

<- feature_get -i 132 -n supports_async
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="feature_get" transaction_id="132" feature_name="supports_async" supported="1"><![CDATA[0]]></response>

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

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

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

Log closed at 2016-11-08 11:55:46

此后我也有大量数据。

Eclipse正在展示PHP应用程序(等待....)

这里可能有什么不妥。

0 个答案:

没有答案