phpstorm永远不会停止使用Xdebug的断点



我尝试将phpstorm配置为在远程服务器上与Xdebug一起使用。Xdebug与Wamp一起在Localhost上托管。

我已经从远程服务器上使用腻子到隧道端口9000,链路网正在工作,我得到了黑屏。

xDebug配置如下:

zend_extension = /usr/lib64/php/modules/xdebug.so
xdebug.remote_enable = 1
xdebug.remote_host="127.0.0.1"
xdebug.remote_autostart =1
xdebug.remote_enable =1
xdebug.remote_port=9000

每当我在phpstorm上按调试时,它就会粘在"连接到localhost:3308"上时。

我在Chrome 63中使用Xdebug Helper 1.6.1。在我的服务器上,我使用Xdebug 2.6,带有PHP版本7.1.10。我使用phpstorm 2017.3.1。

编辑1:似乎在服务器端未打开日志,这是日志:

Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31
Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31
Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31
Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31
Log opened at 2017-12-26 11:11:31
I: Connecting to configured address/port: 127.0.0.1:9009.
W: Creating socket for '127.0.0.1:9009', poll success, but error: Operation now in progress (29).
E: Could not connect to client. :-(
Log closed at 2017-12-26 11:11:31

拒绝本地到端口9009的触觉。

有人知道为什么它不起作用吗?

将端口更改为9009,不要忘记在phpstorm

中chane chane

最新更新