Nad*_* S. 21 xdebug phpstorm vagrant
我不能让XDebug在Windows 7机器上与PhpStorm和Vagrant合作.我已经按照每个教程来完成这项工作,但没有运气.
所以我试过的是:
zend_extension = "..../xdebug.so"
xdebug.remote_enable= 1
xdebug.remote_handler=dbgp
xdebug.remote_host= 33.33.33.10
xdebug.remote_port= 9000
xdebug.remote_connect_back= 1
xdebug.remote_autostart= 1
xdebug.remote_log = "...."
Run Code Online (Sandbox Code Playgroud)
localhost:8080太33.33.33.10,既没有运气.I: Checking remote connect back address.
W: Remote address not found, connecting to configured address/port: 33.33.33.10:9000. :-|
E: Could not connect to client. :-(
Run Code Online (Sandbox Code Playgroud)
我只是不知道该怎么做,但我真的需要能够调试.
谢谢你的帮助!
Nad*_* S. 41
问题非常愚蠢 - 我在Vagrantfile中转发了端口9000,而我没有这样做......
现在,实际上我看到xdebug.ini中唯一必要的行是:
zend_extension = ...
xdebug.remote_enable = on
xdebug.remote_connect_back = on
Run Code Online (Sandbox Code Playgroud)
如果你不做愚蠢的事情,设置非常简单......
| 归档时间: |
|
| 查看次数: |
20350 次 |
| 最近记录: |