eclipse xdebug会话从未完成 [英] eclipse xdebug session never completes

查看:85
本文介绍了eclipse xdebug会话从未完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让xdebug使用eclipse(3.5)/ php(在xampp windows 7上)。我已经验证了xdebug在PHP中启用 - 我有奇特的输出,我的phpinfo显示所有的xdebug的东西。我有远程调试,并在我的eclipse机器上输入lan ip地址。



当我告诉eclipse进行调试时,它启动浏览器并传递调试URL参数。但是,在eclipse调试方面,它显示'启动myproject'57%的'等待xdebug会话'。



我已经关闭了两台机器上的Windows防火墙。





任何想法?

解决方案

我也有这个问题我在 php.ini 文件中缺少这一行:

  xdebug.remote_enable = On 


I am trying to get xdebug working with eclipse (3.5) / php (on xampp windows 7). I have verified xdebug is enabled in php - I have the fancy output and my phpinfo shows all the xdebug stuff. I have remote debug on, and typed in the lan ip address on my eclipse machine.

When I tell eclipse to debug, it launches the browser and passes the debug URL parameters. That looks OK.

However, in eclipse debug perspective it shows 'launching myproject' 57% 'waiting for xdebug session'. It sits there forever.

I have turned off windows firewall on both machines.

I tried turning implicit flush on.

Any ideas?

解决方案

I had this problem too and I was missing this line in the php.ini file:

xdebug.remote_enable = On

这篇关于eclipse xdebug会话从未完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆