How to install XDebug with Eclipse PDT and XAMPP

Aja*_*jay 7 eclipse xampp xdebug

Can someone please tell me How can I install XDebug and integrate it with my existing XAMPP and Eclipse PDT. Thanks.

And*_*rea 5

该站点经历了非常彻底的安装过程.它说明了如何安装XDebug,以及如何将它与Eclipse集成.然而,唯一的缺点是php.ini配置.如果你使用它给你的那个,XDebug将无法正确加载.我建议这样:

[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"
Run Code Online (Sandbox Code Playgroud)