1.xdebug 配置php
zend_extension="/usr/local/opt/php56-xdebug/xdebug.so" xdebug.remote_autostart=On xdebug.remote_enable=On xdebug.remote_mode="req" xdebug.remote_host="localhost" xdebug.remote_port=9999 xdebug.remote_handler="dbgp" xdebug.idekey="PHPSTORM" xdebug.max_nesting_level=600
2.其餘參考地址:http://www.jianshu.com/p/eb5bb682603eide