phpstorm远程调试

远程调试###

因为windows ide 开发搭配虚拟机环境,所以调试诸多不便。

zend_extension=xdebug.so
xdebug.remote_enable=On
xdebug.default_enable=1
xdebug.remote_host="172.20.132.22"
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.remote_autostart=1

其中remote_host和remote_port是指服务器所在环境的ip和端口

原文地址:https://www.cnblogs.com/canbefree/p/5198453.html