2013-03-30 46 views
0

我一直在搜索最高和最低,仍然无法调试'eclipse for PHP Developers 3.0.2'。用于eclipse php调试的php.ini文件

目前eclipse只是挂在57%'发射:等待XDebug会议。但是,虽然日食悬挂,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" 

任何人有一个想法,我需要改变吗?

回答

0

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

下载新版本,增加它的PHP /分机和更新的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"