首页 > 系统服务 > 详细

MAC版 xampp 设置xdebug支持

时间:2015-05-19 00:47:12      阅读:304      评论:0      收藏:0      [点我收藏+]

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=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.profiler_enable=1
xdebug.profiler_output_name=xdebug.cachegrind-out.%s.%p
xdebug.remote_log="/Applications/XAMPP/xamppfiles/logs/xdebug.log"

xdebug.idekey="PHPSTORM"


重启apache发现,xdebug已经装上了。

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

MAC版 xampp 设置xdebug支持

原文:http://blog.csdn.net/naola2001/article/details/45832843

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!