Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Xdebug未在Eclipse开普勒中的断点处停止_Php_Eclipse_Xampp_Xdebug - Fatal编程技术网

Php Xdebug未在Eclipse开普勒中的断点处停止

Php Xdebug未在Eclipse开普勒中的断点处停止,php,eclipse,xampp,xdebug,Php,Eclipse,Xampp,Xdebug,我以前问过这个问题,但不够详细 我的问题是,我使用Eclipse Kepler和来自此站点的PDT插件: 开普勒- 我使用XAMPP1.8.3 问题是,我的XDebug没有在断点处停止 我的设置如下: php.ini [XDebug] zend_extension = "C:\dev\xampp\php\ext\php_xdebug.dll" ;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1 ;xdebug.profiler_enab

我以前问过这个问题,但不够详细

我的问题是,我使用Eclipse Kepler和来自此站点的PDT插件: 开普勒-

我使用XAMPP1.8.3

问题是,我的XDebug没有在断点处停止

我的设置如下:

php.ini

[XDebug]
zend_extension = "C:\dev\xampp\php\ext\php_xdebug.dll"
;xdebug.profiler_append = 0
;xdebug.profiler_enable = 1
;xdebug.profiler_enable_trigger = 0
;xdebug.profiler_output_dir = "C:\development\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port=9000
xdebug.remote_cookie_expire_time = 25920000
;xdebug.trace_output_dir = "C:\development\xampp\tmp"
在Eclipse中,我有:

如果我勾选“第一行中断”,它将停止。但是如果我调用一个页面,比如index.php,它不会停止,尽管我在这个文件中设置了断点

在EclipseKepler中可以使用Xdebug吗

编辑 我将xdebug.remote_log属性设置为php.ini。 通过启动调试,在日志中正确设置idekey:

idekey="ECLIPSE_DBGP"
现在,如果我在我的webapp中调用feedback.php之类的页面,idekey会突然变为:

idekey="netbeans-xdebug"
我认为这可能是问题所在。但是如何更改eclipse发送的Ide密钥呢

编辑2

我也意识到,xdebug仅在外部浏览器中不起作用。在eclipse内部浏览器中,我可以进行调试。

哦,伙计:-) 我不敢相信我的错误是什么。 我安装了firefox扩展“最简单的xdebug”,它在配置中有“netbeans xdebug”的值。 只需停用扩展,现在就可以工作了。:-)