X
X
xaam2018-06-26 13:23:49
PHP
xaam, 2018-06-26 13:23:49

How to run xdebug on a virtual machine?

For half a day I've been trying to make phpstorm and xdebug friends.
Given there is a virtual machine, on it ubunta nginx php and xdebuger
here are the settings in 20-xdebug.ini
zend_extension=xdebug.so
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=1
xdebug.remote_enable=1
xdebug.remote_host=192.168.122.177
xdebug.remote_port =9001
xdebug.remote_handler=dbgp
xdebug.idekey=PHPSTORM
xdebug.remote_autostart=1
xdebug.remote_connect_back=0
telnet 192.168.122.177 9001
Trying 192.168.122.177...
telnet: Unable to connect to remote host: Connection refused
which can be? I don't know where to look anymore.
here are all the settings output by phpinfo();
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.filename_format no value no value
xdebug.force_display_errors Off Off
xdebug.force_error_reporting 0 0
xdebug.gc_stats_enable Off Off
xdebug.gc_stats_output_dir /tmp / tmp
xdebug.gc_stats_output_name gcstats.%p gcstats.%p
xdebug.halt_level 0 0
xdebug.idekey PHPSTORM PHPSTORM
xdebug.max_nesting_level 256 256
xdebug.max_stack_frames -1 -1
xdebug.overload_varde_dump 2 2
xdebug.profiler_aggregate Off
Off
xdeendbug.Offprofiler_ .profiler_enable Off Off
xdebug.profiler_enable_trigger On On xdebug.profiler_enable_trigger_value
no value no value xdebug.profiler_output_dir /
tmp /tmp
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p Off xdebug.remote_cookie_expire_time 3600 3600 xdebug.remote_enable the On the On xdebug.remote_handler dbgp dbgp xdebug.remote_host 192.168.122.177 192.168.122.177 xdebug.remote_log the no of value of value the no xdebug.remote_mode req req xdebug.remote_port 9001 9001 xdebug.remote_timeout 200 200 xdebug.scream Off Off xdebug.show_error_trace 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 c trace.%c xdebug.var_display_max_children 128 128 xdebug.var_display_max_data 512 512 xdebug.var_display_max_depth 3 3

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