[xdebug-general] Re: Xdebug in VIM: waiting for a new connection on port 9000 for 10 seconds... Connection Timeout

From: General Mail <general[@]bombshellz.net>
Date: Wed, 30 Jan 2013 22:49:12 -0500

On 1/30/2013 12:00 PM, Dotan Cohen wrote:
> I am trying to use Xdebug in VIM on Ubuntu Linux. Here are my settings:
> $ cat /etc/php5/apache2/conf.d/20-xdebug.ini
> zend_extension=/usr/lib/php5/20100525/xdebug.so
> xdebug.remote_host = 127.0.1.1
>
> However, when I try to connect to
> http://127.0.1.1/phpinfo.php?XDEBUG_SESSION_START=1 I get only this
> output in VIM:
> waiting for a new connection on port 9000 for 10 seconds...
> Connection Timeout
>
> Of course, I enabled Xdebug (with F5) before calling the page in
> Firefox, and of course I did the call in the allotted time frame.
>
> I do see these config parameters in the output of phpinfo():
> xdebug
> xdebug support enabled
> Version 2.2.1
> IDE Key 1
>
> 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 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 no value no value
> 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 /tmp /tmp
> xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
> xdebug.remote_autostart Off Off
> xdebug.remote_connect_back Off Off
> xdebug.remote_cookie_expire_time 3600 3600
> xdebug.remote_enable Off Off
> xdebug.remote_handler dbgp dbgp
> xdebug.remote_host 127.0.1.1 127.0.1.1
> 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_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 128 128
> xdebug.var_display_max_data 512 512
> xdebug.var_display_max_depth 3 3
>
>
>
> Why might Xdebug be not connecting?
>
> Thank you.
>

One time it took quite awhile to figure this out, in the end,
remote_enabled was off like you have in your settings.

- Regards
Received on Thu Jan 31 2013 - 03:49:22 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST