【发布时间】:2011-07-29 20:40:19
【问题描述】:
谁能告诉我如何安装 XDebug 并将其与我现有的 XAMPP 和 Eclipse PDT 集成。谢谢。
【问题讨论】:
谁能告诉我如何安装 XDebug 并将其与我现有的 XAMPP 和 Eclipse PDT 集成。谢谢。
【问题讨论】:
This site 经历了一个非常彻底的安装过程。它说明了如何安装 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"
【讨论】: