xdebug|notepad|DBGP

php 5.4

http://xdebug.org/download.php

PHP 5.4 VC9 (64 bit)

php_xdebug-2.2.6-5.4-vc9.dll拷贝到PHP的ext的目录中

php.ini

display_errors = Off 改 display_errors = on

添加如下代码:

zend_extension = “D:\phpa\ext\php_xdebug-2.2.6-5.4-vc9.dll”

xdebug.remote_enable=1

xdebug.remote_handler=dbgp

xdebug.remote_host=localhost

xdebug.remote_mode=req

xdebug.idekey=default

xdebug.remote_log=”D:/wza/log/xdebug.log”

xdebug.remote_port=9000

xdebug.show_exception_trace=0

xdebug.show_local_vars=9

xdebug.show_mem_delta=0

xdebug.trace_format=0

重启apache

下载DBGP插件

DBGP的config 

Remote Server IP:localhost

Remote Path:php.ini目录

Local Path:php.ini目录