mac下安装php调试工具xdebug
安装步骤
配置如下:
[xdebug]
zend_extension="/usr/local/opt/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
愉快的调试吧,哈哈
评论列表:
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论
发布于 1月前回复该评论