php 的 Eclipse 3.0 不在断点处停止,

Eclipse 3.0 for php not stopping at breakpoint,

我 运行 使用 eclipse 3,0 Zend 引擎 v4.0.3, 使用 Xdebug v3.0.3 和 Php 8.0.3

这是在php.ini:

xdebug.idekey=ECLIPSE_DBGP
xdebug.remote_autostart=1
xdebug.client_enable=开启
xdebug.client_host=本地主机
xdebug.client_port=9003
xdebug.client_handler=dbgp
xdebug.client_enable=开启
xdebug.client_connect_back=0
xdebug.client_autostart=开启
xdebug.start_with_request=是

运行 phpinfo() 显示 XDEBUG 运行,但与 禁用步调试器和禁用跟踪 eclipse se 中的端口号也设置为 9003

我怀疑这就是调试器不会在断点处停止的原因 可能?以及如何启用它们

您的模式不包括 debug,事实上,您没有设置任何 xdebug.mode 设置。如果要逐步调试,则需要将其设置为 xdebug.mode=debug.

还有:

xdebug.client_enablexdebug.client_autostart 不是设置。如果您显示 xdebug_info() 输出(而不是您所说的 phpinfo()),那么它还会进一步告诉您 Xdebug 是否尝试连接到您的 IDE,并且为什么没有成功。

这里是图片示例,点击打勾按钮: