MAC版 xampp 设置xdebug支持

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

xdebug.idekey="PHPSTORM"

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

xdebug

xdebug supportenabled

Version2.2.3

IDE KeyPHPSTORM

Supported protocolsRevision

DBGp – Common DeBuGger Protocol$Revision: 1.145 $

DirectiveLocal ValueMaster Value

xdebug.auto_traceOffOff

xdebug.cli_color00

xdebug.collect_assignmentsOffOff

xdebug.collect_includesOnOn

一错再错,把握正确的方向,

MAC版 xampp 设置xdebug支持

相关文章:

你感兴趣的文章:

标签云: