在XDEBUG中获取错误 [英] Getting error in XDEBUG
问题描述
网络发布已经运行
2个问题:
- Eclipse没有一起脱离Eclipse?
- 有没有额外的配置设置需要设置,不在我的说明书中?
任何帮助/方向将不胜感激,因为我正在开始拉出我的头发。谢谢!
这是我在动态扩展部分的每个说明文件中添加到我的php.ini文件中:
;加载模块
/ pre>
zend_extension =/ usr / lib / php5 / 20090626 + lfs / xdebug.so
;一些选项
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_mode = req
;以下IP应该是运行Eclipse的主机!
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.idekey =
;只有在需要profiler输出(大量数据!)
; xdebug.profiler_enable = 1
; xdebug.profiler_output_dir = / var / log / XDebug /
; xdebug.profiler_enable_trigger = 1
解决方案Web Launch已经运行
这意味着你已经启动了调试会话并且尚未被终止。
打开调试透视图并查看调试选项卡,选择PHP Web应用程序,然后单击终止(红色方块)按钮。I just installed xdebug on my eclipse PDT installation and now I am getting the following error when trying to debug my PHP code using XDEBUG on my local debian box:
web launch already running
2 questions:
- How can I kill this within Eclipse without getting out of Eclipse all together?
- Is there an additional configuration setting that needs to be set that were not in my instructions?
Any help/direction would be appreciated as I'm at the point where I'm starting to pull my hair out. Thanks!
Here is what I added to my php.ini file in the Dynamic Extensions section per instructions:
;load module zend_extension="/usr/lib/php5/20090626+lfs/xdebug.so" ;some options xdebug.remote_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req ;The following IP should be of the host running Eclipse! xdebug.remote_host=127.0.0.1 xdebug.remote_port=9000 xdebug.idekey= ;Only enable the following if you want profiler output (lots of data!) ;xdebug.profiler_enable=1 ;xdebug.profiler_output_dir=/var/log/XDebug/ ;xdebug.profiler_enable_trigger=1
解决方案"Web Launch Already Running"
It means that you have started the debug session already and it is not being terminated yet.
Open 'Debug' perspective and see 'Debug' tab, select 'PHP Web Application' and click 'Terminate'(red square) button.这篇关于在XDEBUG中获取错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!