欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

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

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

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  #這個(gè)端口不要被占用即可,可以自行指定
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)試吧,哈哈

相關(guān)文章

最新評(píng)論