Mac下安裝PHP調試工具Xdebug
安裝步驟
配置如下:[xdebug]zend_extension="/usr/local/opt/php70-xdebug/xdebug.so"xdebug.remote_enable = Onxdebug.remote_handler = dbgpxdebug.remote_host= localhostxdebug.remote_port = 9001 #這個端口不要被占用即可,可以自行指定xdebug.idekey = PHPSTORMxdebug.remote_autostart=1xdebug.remote_log=/var/tmp/xdebug.log
在PHPStorm中配置
我的調試地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550
愉快的調試吧,哈哈
新聞熱點
疑難解答
圖片精選