标签:
MAC系统下,下载XAMPP 1.8.3-4 发现默认不支持xdebug,搜索了下文件,有xdebug 但再phpinfo()中没有显示相关的项。
修改php.ini 配置文件 ,在安装目录的/Applications/XAMPP/xamppfiles/etc/php.ini
zend_extension="/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so"
xdebug.remote_enable=onxdebug.idekey="PHPSTORM"
重启apache发现,xdebug已经装上了。
| xdebug support | enabled | 
|---|---|
| Version | 2.2.3 | 
| IDE Key | PHPSTORM | 
| Supported protocols | Revision | 
|---|---|
| DBGp - Common DeBuGger Protocol | $Revision: 1.145 $ | 
| Directive | Local Value | Master Value | 
|---|---|---|
| xdebug.auto_trace | Off | Off | 
| xdebug.cli_color | 0 | 0 | 
| xdebug.collect_assignments | Off | Off | 
| xdebug.collect_includes | On | On | 
标签:
原文地址:http://blog.csdn.net/naola2001/article/details/45832843