
WiFi环境下xdebug.remote值不能配置为localhost,而应该配置成mac获取到的本地地址,这样才能进入断点。
[xdebug]
zend_extension="/usr/local/opt/php56-xdebug/xdebug.so"
xdebug.remote_autostart=1
xdebug.remote_enable=1
xdebug.remote_mode="req"
xdebug.remote_log="/var/log/xdebug.log"
xdebug.remote_host=192.168.3.27
xdebug.remote_port=9001
xdebug.remote_handler="dbgp"
xdebug.idekey="PHPSTORM"




近期评论