亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Mac系統(tǒng)下安裝PHP Xdebug

 更新時間:2018年03月30日 08:48:38   投稿:laozhang  
本文給大家詳細講述了在Mac系統(tǒng)下安裝PHP Xdebug的詳細步驟和流程,一起學習下吧。

Mac下安裝PHP調(diào)試工具Xdebug

安裝步驟

  1. brew install php70
  2. brew install php70-xdebug
  3. php -i | grep xdebug.ini找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
  4. vim /usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
配置如下:
[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中配置

我的調(diào)試地址:http://localhost:8080/email/send.php?XDEBUG_SESSION_START=15550

愉快的調(diào)試吧,哈哈

相關文章

最新評論