Xdebug无法连接到我的IDE

时间:2016-11-19 20:42:18

标签: php phpstorm xdebug remote-debugging

今天我已经安装了xdebug并设置了config:

; Enable xdebug extension module
; see http://xdebug.org/docs/all_settings
zend_extension=xdebug.so

xdebug.xdebug.remote_connect_back = 1
xdebug.remote_enable=1
xdebug.remote_port=9000
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
xdebug.idekey="PHPSTORM"

xdebug.profiler_enable_trigger=1
xdebug.profiler_enable=0


xdebug.remote_log = "/tmp/xdebug.log"

配置IDE并验证远程xdebug

之后

picture of validate results

但是当我尝试在我的代码中使用它时(带断点)xdebug无法连接

Log opened at 2016-11-19 20:34:42
I: Connecting to configured address/port: 94.181.237.21:9000.
W: Creating socket for '94.181.237.21:9000', poll: Operation now in progress.
E: Could not connect to client. :-(
Log closed at 2016-11-19 20:34:42

0 个答案:

没有答案