【发布时间】:2018-06-17 11:53:00
【问题描述】:
我刚刚安装了 Xdebug,一旦我启动 PhpStorm,我就会看到这条消息:
这是由于其他一些运行端口 9000 的程序,我不想管它:
C:\Users\Rsluimers
λ netstat -ab
...
TCP 0.0.0.0:9000 LT1736:0 LISTENING
[aeagent.exe]
...
所以我在 PhpStorm 设置中设置了 Xdebug 调试器端口:
在 php.ini 中:
...
[Xdebug]
zend_extension="C:\Program Files\PHP\ext\php_xdebug-2.5.5-7.1-vc14-x86_64.dll"
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=63342
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\Program Files\PHP\tmp"
但在完全重启后出现同样的错误。
【问题讨论】:
-
在端口 63342 或 9000 上出现同样的错误?
标签: windows phpstorm port xdebug