eclipse - 如何使用 Eclipse PDT 和 XAMPP 安装 XDebug

标签 eclipse xampp xdebug

有人可以告诉我如何安装 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"

关于eclipse - 如何使用 Eclipse PDT 和 XAMPP 安装 XDebug,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5550512/

相关文章:

php - 检查 xdebug 是否正在运行

php - Netbeans PHP 调试器中的缩短值

eclipse - 通过 MatlabControl.java 在 Java 中调用 MATLAB

java - 动态加载的 jar 中的 getResourceAsStream

php - 如何更改 XAMPP 中的 PHP 版本?

ssl - 在 XAMPP for Mac OS 中续订 SSL 证书

php - XAMPP:Laravel 6.0 的 htdocs 文件夹权限

java - Hello Android 应用程序未显示在 Android 模拟器中

java - 以编程方式创建 Plugin Eclipse 项目

xdebug - Atom + Xdebug 设置