Mac下安装PHP调试工具Xdebug
安装步骤
@H_404_6@PHP70-xdebug/xdebug.so"
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host= localhost
xdebug.remote_port = 9001 #这个端口不要被占用即可,可以自行指定
xdebug.idekey = PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
我的调试地址:http://localhost:8080/email/send.PHP?XDEBUG_SESSION_START=15550
愉快的调试吧,哈哈