在XDEBUG中获取错误 [英] Getting error in XDEBUG

查看:112
本文介绍了在XDEBUG中获取错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在我的eclipse PDT安装中安装了xdebug,现在我在本地debian框中尝试使用XDEBUG调试我的PHP代码时收到以下错误:



网络发布已经运行



2个问题:


  1. Eclipse没有一起脱离Eclipse?

  2. 有没有额外的配置设置需要设置,不在我的说明书中?

任何帮助/方向将不胜感激,因为我正在开始拉出我的头发。谢谢!



这是我在动态扩展部分的每个说明文件中添加到我的php.ini文件中:

 ;加载模块
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
/ pre>

解决方案

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:

  1. How can I kill this within Eclipse without getting out of Eclipse all together?
  2. 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屋!

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