码迷,mamicode.com
首页 > 系统相关 > 详细

MAC版 xampp 设置xdebug支持

时间:2015-05-19 00:49:09      阅读:214      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!