PHP 调试配置挂起 - 等待 XDebug 会话 (57%) [英] PHP debug configuration hangs - Waiting for XDebug session (57%)

查看:38
本文介绍了PHP 调试配置挂起 - 等待 XDebug 会话 (57%)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
eclipse xdebug 会话永远不会完成

当我尝试调试 php 网页时,它挂断了.消息 - 等待 XDEbug 会话.在右下角还有另一条消息 - 启动 mydebugconf: (57%).

When I try to debug a php web page it hangs up. The message - waiting for XDEbug session. At the lower right corner there is another message - launching mydebugconf: (57%).

我正在 x86 Windows 7 计算机上使用 PHP 5.3.8 和 Apache 2.0 运行 XAMPP for Windows 1.7.7.

I am running XAMPP for Windows 1.7.7 with PHP 5.3.8 and Apache 2.0 on an x86 Windows 7 computer.

xdebug.auto_trace   Off Off
xdebug.collect_assignments  Off Off
xdebug.collect_includes On  On
xdebug.collect_params   0   0
xdebug.collect_return   Off Off
xdebug.collect_vars Off Off
xdebug.default_enable   On  On
xdebug.dump.COOKIE  no value    no value
xdebug.dump.ENV no value    no value
xdebug.dump.FILES   no value    no value
xdebug.dump.GET no value    no value
xdebug.dump.POST    no value    no value
xdebug.dump.REQUEST no value    no value
xdebug.dump.SERVER  no value    no value
xdebug.dump.SESSION no value    no value
xdebug.dump_globals On  On
xdebug.dump_once    On  On
xdebug.dump_undefined   Off Off
xdebug.extended_info    On  On
xdebug.file_link_format no value    no value
xdebug.idekey   DTWS01$ no value
xdebug.manual_url   www.php.net www.php.net
xdebug.max_nesting_level    100 100
xdebug.overload_var_dump    On  On
xdebug.profiler_aggregate   Off Off
xdebug.profiler_append  Off Off
xdebug.profiler_enable  Off Off
xdebug.profiler_enable_trigger  Off Off
xdebug.profiler_output_dir  C:\xampp\tmp    C:\xampp\tmp
xdebug.profiler_output_name xdebug_profile.%R::%u   xdebug_profile.%R::%u
xdebug.remote_autostart Off Off
xdebug.remote_connect_back  On  On
xdebug.remote_cookie_expire_time    3600    3600
xdebug.remote_enable    On  On
xdebug.remote_handler   dbgp    dbgp
xdebug.remote_host  localhost   localhost
xdebug.remote_log   c:\xdebug\log.txt   c:\xdebug\log.txt
xdebug.remote_mode  req req
xdebug.remote_port  9000    9000
xdebug.scream   Off Off
xdebug.show_exception_trace Off Off
xdebug.show_local_vars  Off Off
xdebug.show_mem_delta   Off Off
xdebug.trace_format 0   0
xdebug.trace_options    0   0
xdebug.trace_output_dir C:\xampp\tmp    C:\xampp\tmp
xdebug.trace_output_name    trace.%c    trace.%c
xdebug.var_display_max_children 128 128
xdebug.var_display_max_data 512 512
xdebug.var_display_max_depth 3  3

============================================================

==========================================================

[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.1.2-5.3-vc9.dll
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "xdebug_profile.%R::%u"
xdebug.remote_autostart=off
xdebug.remote_connect_back =1
xdebug.remote_enable=On
xdebug.remote_handler=dbgp
xdebug.remote_host="localhost"
xdebug.remote_log = "c:\xdebug\log.txt"
xdebug.remote_mode = "req"
xdebug.trace_output_dir = "C:\xampp\tmp"

==========================================

========================================

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING
  TCP    0.0.0.0:135            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:443            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:445            0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1025           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1026           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1027           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1029           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1030           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3306           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:3389           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:5357           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:9000           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:10000          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:37674          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:53794          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:55723          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:60747          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:62062          0.0.0.0:0              LISTENING
  TCP    127.0.0.1:5354         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:6880         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:27015        0.0.0.0:0              LISTENING
  TCP    127.0.0.1:45100        0.0.0.0:0              LISTENING
  TCP    192.168.1.5:139        0.0.0.0:0              LISTENING
  TCP    [::]:80                [::]:0                 LISTENING
  TCP    [::]:135               [::]:0                 LISTENING
  TCP    [::]:443               [::]:0                 LISTENING
  TCP    [::]:445               [::]:0                 LISTENING
  TCP    [::]:1025              [::]:0                 LISTENING
  TCP    [::]:1026              [::]:0                 LISTENING
  TCP    [::]:1027              [::]:0                 LISTENING
  TCP    [::]:1029              [::]:0                 LISTENING
  TCP    [::]:1030              [::]:0                 LISTENING
  TCP    [::]:3306              [::]:0                 LISTENING
  TCP    [::]:3389              [::]:0                 LISTENING
  TCP    [::]:5357              [::]:0                 LISTENING
  TCP    [::]:9000              [::]:0                 LISTENING
  TCP    [::]:10000             [::]:0                 LISTENING
  TCP    [::]:53794             [::]:0                 LISTENING
  TCP    [::]:55723             [::]:0                 LISTENING
  TCP    [::]:62062             [::]:0                 LISTENING

====================================================================

=================================================================

预先感谢您对其他相关信息来源的意见、建议或指导.

Thanks in advance for advice, suggestions or direction to other sources of relevant info.

DT

推荐答案

这很可能是由于您的 IDE 中未正确设置某些服务器路径.您没有提及您使用的是哪个 IDE,所以我无能为力.

This is most likely due to some server paths not having been set-up correctly in your IDE. You don't mention which IDE you're using so I can't help there.

这篇关于PHP 调试配置挂起 - 等待 XDebug 会话 (57%)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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