新的空间

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

以扩展形式加载xdebug。

 

注意php_xdebug.dll要在xampp/php/ext目录下

然后php.ini中添加的内容 (xampp已经添加好,我们只需要去掉注释即可)

 

[XDebug]
;; Only Zend OR (!) XDebug

zend_extension=php_xdebug.dll
xdebug.remote_enable=true
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
;xdebug.remote_handler=dbgp
;xdebug.profiler_enable=1
;xdebug.profiler_output_dir=”D:\xampp\tmp”

再重启apache, OK。 开始测试。

 

eclipse配置如下:

posted on 2014-04-12 21:57  旭萌  阅读(184)  评论(0编辑  收藏  举报