> 백엔드 개발 > PHP 튜토리얼 > mysql - phpstorm配置debug:Waiting for incoming connection...?

mysql - phpstorm配置debug:Waiting for incoming connection...?

WBOY
풀어 주다: 2016-06-06 20:24:15
원래의
1742명이 탐색했습니다.

今天在折腾使用phpstorm配置xdebug + chrmoe的断点调试(想看配置方法的参考:http://www.it165.net/os/html/201505/12846.html).
配置完后,开始断点调试,但是发现debugger面板一直输出:

<code class="txt">Waiting for incoming connection with ide key 18479</code>
로그인 후 복사
로그인 후 복사

截图如下:
mysql - phpstorm配置debug:Waiting for incoming connection...?

导致不能进行后面的断点调试...

我的xdebug配置如下:

<code class="txt">Directive    Local Value    Master Value
xdebug.auto_trace    Off    Off
xdebug.cli_color    0    0
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.coverage_enable    On    On
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.force_display_errors    Off    Off
xdebug.force_error_reporting    0    0
xdebug.halt_level    0    0
xdebug.idekey    PhpStorm    PhpStorm
xdebug.max_nesting_level    256    256
xdebug.max_stack_frames    -1    -1
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_enable_trigger_value    no value    no value
xdebug.profiler_output_dir    /var/tmp/    /var/tmp/
xdebug.profiler_output_name    cachegrind.out.%p    cachegrind.out.%p
xdebug.remote_autostart    On    On
xdebug.remote_connect_back    Off    Off
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    no value    no value
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_enable_trigger    Off    Off
xdebug.trace_enable_trigger_value    no value    no value
xdebug.trace_format    0    0
xdebug.trace_options    0    0
xdebug.trace_output_dir    /var/tmp/    /var/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</code>
로그인 후 복사
로그인 후 복사

求赐教!

回复内容:

今天在折腾使用phpstorm配置xdebug + chrmoe的断点调试(想看配置方法的参考:http://www.it165.net/os/html/201505/12846.html).
配置完后,开始断点调试,但是发现debugger面板一直输出:

<code class="txt">Waiting for incoming connection with ide key 18479</code>
로그인 후 복사
로그인 후 복사

截图如下:
mysql - phpstorm配置debug:Waiting for incoming connection...?

导致不能进行后面的断点调试...

我的xdebug配置如下:

<code class="txt">Directive    Local Value    Master Value
xdebug.auto_trace    Off    Off
xdebug.cli_color    0    0
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.coverage_enable    On    On
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.force_display_errors    Off    Off
xdebug.force_error_reporting    0    0
xdebug.halt_level    0    0
xdebug.idekey    PhpStorm    PhpStorm
xdebug.max_nesting_level    256    256
xdebug.max_stack_frames    -1    -1
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_enable_trigger_value    no value    no value
xdebug.profiler_output_dir    /var/tmp/    /var/tmp/
xdebug.profiler_output_name    cachegrind.out.%p    cachegrind.out.%p
xdebug.remote_autostart    On    On
xdebug.remote_connect_back    Off    Off
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    no value    no value
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_enable_trigger    Off    Off
xdebug.trace_enable_trigger_value    no value    no value
xdebug.trace_format    0    0
xdebug.trace_options    0    0
xdebug.trace_output_dir    /var/tmp/    /var/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</code>
로그인 후 복사
로그인 후 복사

求赐教!

可能是chrome的插件有问题, 你可以参考下下面的官方文档使用的插件, 我用这个插件是可以正常调试的。

https://confluence.jetbrains.com/display/PhpStorm/Configure+Xdebug+Helper+for+Chrome+to+be+used+with+PhpStorm

관련 라벨:
원천:php.cn
본 웹사이트의 성명
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.
인기 튜토리얼
더>
최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿