eclipse xdebug 会话永远不会完成

2023-05-03Java开发问题
0

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

问题描述

限时送ChatGPT账号..

我正在尝试让 xdebug 与 eclipse (3.5)/php (在 xampp windows 7 上) 一起工作.我已经验证在 php 中启用了 xdebug - 我有精美的输出,我的 phpinfo 显示了所有 xdebug 的东西.我开启了远程调试,并在我的 Eclipse 机器上输入了局域网 IP 地址.

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.

当我告诉 eclipse 进行调试时,它会启动浏览器并传递调试 URL 参数.看起来不错.

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

但是,在 Eclipse 调试透视图中,它显示 'launching myproject' 57% 'waiting for xdebug session'.它永远坐在那里.

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

我已经关闭了两台机器上的 windows 防火墙.

I have turned off windows firewall on both machines.

我尝试打开隐式刷新.

有什么想法吗?

推荐答案

我也遇到了这个问题,我在 php.ini 文件中缺少这一行:

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

xdebug.remote_enable = On

这篇关于eclipse xdebug 会话永远不会完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何使用 JAVA 向 COM PORT 发送数据?
How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)...
2024-08-25 Java开发问题
21

在 Eclipse 项目中使用西里尔文 .properties 文件
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)...
2024-08-25 Java开发问题
18

在属性文件中查找重复键和值的工具
Tool to find duplicate keys and value in properties file(在属性文件中查找重复键和值的工具)...
2024-08-25 Java开发问题
14

如何在 Java 应用程序中处理多种语言?
How to handle multiple languages in Java apps?(如何在 Java 应用程序中处理多种语言?)...
2024-08-25 Java开发问题
11

将 Java Swing 桌面应用程序国际化的最佳实践是什么?
What are the best practices for internationalizing a Java Swing desktop application?(将 Java Swing 桌面应用程序国际化的最佳实践是什么?)...
2024-08-25 Java开发问题
15

自动委托 java 类的所有方法
Automatically delegating all methods of a java class(自动委托 java 类的所有方法)...
2024-08-25 Java开发问题
5