【问题标题】:php.ini file for eclipse php debugging用于eclipse php调试的php.ini文件
【发布时间】:2013-03-20 20:53:56
【问题描述】:

我一直在寻找高低,但仍然无法使用“eclipse for PHP Developers 3.0.2”进行调试。

目前 Eclipse 仅以 57% 的速度挂起,并显示“正在启动:等待 XDebug 会话。但是当eclipse挂起时,php文件在外部浏览器中打开并运行???

我正在为 Web 服务器使用“XAMPP 3.1.0.3.1.0”,并且在 php ext 文件夹中有相应的“php_xdebug.dll”文件。

我尝试了其他论坛的许多设置,但仍然没有运气,这是我的 XDebug 的 php.ini 文件配置:

[XDebug]
zend_extension = "C:\xampp\php\ext\php_xdebug.dllstack"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0n
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
;xdebug.trace_output_dir = "\xampp\tmp"

有人知道我需要改变什么吗?

【问题讨论】:

    标签: debugging xampp php-ini


    【解决方案1】:

    好像配置设置不正确,好用的工具是http://xdebug.org/wizard.php

    下载新版本,添加php/ext并更新php.ini:

    [XDebug]
    zend_extension = \xampp\php\ext\php_xdebug-2.2.2-5.4-vc9.dll
    ;zend_extension = "\xampp\php\ext\php_xdebug.dll"
    ;xdebug.profiler_append = 0
    ;xdebug.profiler_enable = 1
    ;xdebug.profiler_enable_trigger = 0
    ;xdebug.profiler_output_dir = "\xampp\tmp"
    ;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
    ;xdebug.remote_enable = 0
    ;xdebug.remote_handler = "dbgp"
    ;xdebug.remote_host = "127.0.0.1"
    ;xdebug.trace_output_dir = "\xampp\tmp"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-03-30
      • 1970-01-01
      • 2016-05-10
      • 2023-03-07
      • 1970-01-01
      • 2013-11-18
      • 1970-01-01
      • 2012-07-05
      相关资源
      最近更新 更多