Getting error in XDEBUG(在 XDEBUG 中出现错误)
问题描述
我刚刚在我的 eclipse PDT 安装中安装了 xdebug,现在尝试在本地 debian 机器上使用 XDEBUG 调试我的 PHP 代码时出现以下错误:
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:
网络启动已经在运行
2 个问题:
- 我怎样才能在 Eclipse 中杀死它而不一起退出 Eclipse?
- 是否需要设置我的说明中没有的其他配置设置?
任何帮助/指导将不胜感激,因为我正处于开始拔头发的地步.谢谢!
Any help/direction would be appreciated as I'm at the point where I'm starting to pull my hair out. Thanks!
这是我按照说明添加到动态扩展部分的 php.ini 文件中的内容:
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 已经运行"
这意味着您已经启动了调试会话并且它还没有被终止.
打开调试"透视图并查看调试"选项卡,选择PHP Web 应用程序"并单击终止"(红色方块)按钮.
"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 中出现错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 XDEBUG 中出现错误


基础教程推荐
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何替换eregi() 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01