A
A
Alexander Avtomonov2014-04-01 09:42:39
PHP
Alexander Avtomonov, 2014-04-01 09:42:39

Why doesn't xDebug work?

FreeBSD 10 + nginx + PHP-FPM system, installed xDebug, config:
xdebug.profiler_enable = Off
xdebug.default_enable = On
xdebug.show_exception_trace = On
xdebug.show_local_vars = "1"
xdebug.max_nesting_level = "50"
xdebug.var_display_max_depth = "6 "
xdebug.dump_once = On
xdebug.dump_globals = On
xdebug.dump_undefined = On
xdebug.dump.REQUEST = *
xdebug.dump.SERVER = REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT
xdebug.remote_enable = On
xdebug.remote_log="/var/log/xdebug .log"
xdebug.remote_connect_back = 1
xdebug.remote_handler=dbgp
xdebug.remote_port=9900
xdebug.var_display_max_data=10000
xdebug.var_display_max_children=10
In phpinfo:
Version 2.2.3
IDE Key www
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $
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 * *
xdebug.dump.SERVER REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT
xdebug.dump.SESSION no value no value
xdebug.dump_globals On On
xdebug.dump_once On On
xdebug.dump_undefined On On
xdebug.extended_info On On
xdebug.file_link_format no value no value
xdebug.idekey no value no value
xdebug.max_nesting_level 50 50
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 /tmp/ /tmp/
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
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 /varrebug /log/xdebug.log /var/log/xdebug.log xdebug.remote_mode req
req xdebug.remote_port
9900 9900 _ .trace_format 0 0 xdebug.trace_options 0 0 xdebug.trace_output_dir /tmp/ /tmp/
xdebug.trace_output_name trace.%c trace.%c
xdebug.var_display_max_children 10 10
xdebug.var_display_max_data 10000 10000
xdebug.var_display_max_depth 6 6
However, nothing is hanging on port 9900 and phpStorm cannot connect to it.
There is no firewall.
Tell me what to do.
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question