相關(guān)關(guān)鍵詞
關(guān)于我們
最新文章
Mac系統(tǒng)下安裝PHP Xdebug
Mac下安裝PHP調(diào)試工具Xdebug
安裝步驟
- brew install php70
- brew install php70-xdebug
- php -i | grep xdebug.ini找到xdebug.ini的配置文件我的是/usr/local/etc/php/7.0/conf.d/ext-xdebug.ini
- 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