开发者

How to install XDebug with Eclipse PDT and XAMPP

Can someone please tell me How can I install XDebug开发者_运维百科 and integrate it with my existing XAMPP and Eclipse PDT. Thanks.


This site goes through a very thorough installation process. It says how to install XDebug, and how to integrate it with Eclipse. The only miss, however, is the php.ini configuration. If you use the one it gives you, XDebug will not be loaded properly. I would suggest this:

[XDebug]
;; Only Zend OR (!) XDebug
; Modify the filename below to reflect the .dll version of your xdebug
zend_extension="C:\xampp\php\ext\php_xdebug-2.1.1-5.3-vc9.dll"
xdebug.remote_enable=1
xdebug.remote_host=localhost  ; if debugging on remote server,
                      ; put client IP here
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.profiler_enable=1
xdebug.profiler_output_dir="C:\xampp\tmp"
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_name = "xdebug_profile.%R::%u"
xdebug.trace_output_dir = "C:\xampp\tmp"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜