【问题标题】:How to install XDebug with Eclipse PDT and XAMPP如何使用 Eclipse PDT 和 XAMPP 安装 XDebug
【发布时间】:2011-07-29 20:40:19
【问题描述】:

谁能告诉我如何安装 XDebug 并将其与我现有的 XAMPP 和 Eclipse PDT 集成。谢谢。

【问题讨论】:

    标签: eclipse xampp xdebug


    【解决方案1】:

    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"
    

    【讨论】:

      猜你喜欢
      • 2011-07-13
      • 2014-09-21
      • 1970-01-01
      • 1970-01-01
      • 2013-05-31
      • 1970-01-01
      • 1970-01-01
      • 2021-05-19
      • 1970-01-01
      相关资源
      最近更新 更多