[xdebug-general] Set up troubles in Eclipse

From: Mark Murphy <mobitinker[@]gmail.com>
Date: Wed, 30 Jul 2014 09:37:09 -0700

Hi all,

I'm trying to set up xdebug in Eclipse for debugging a Wordpress theme and
can not get it to stop at breakpoints. My php page essentially works and
shows the error: "Warning: The remote debug handler '”dbgp”' is not
supported. in Unknown on line 0" four times at the bottom. Xdebug appears
to load properly since phpinfo() returns its settings. The apache and php
logs show nothing and I can not get xdebug to output a log. Using php
5.5.10 and Eclipse Luna.

My settings in php.ini are as follows:

    [xdebug]

zend_extension=/Applications/MAMP/bin/php/php5.5.10/lib/php/extensions/no-debug-non-zts-20121212/xdebug.so
    xdebug.profiler_output_dir=”/tmp/xdebug/”
    xdebug.profiler_enable=1
    xdebug.remote_enable=1
    xdebug.remote_autostart=1
    xdebug.remote_host=”127.0.0.1”
    xdebug.remote_port=9000
    xdebug.remote_handler=”dbgp”
    xdebug.idekey=ECLIPSE_DBGP
    xdebug.remote_log=“/Applications/MAMP/logs/xdebug.log”

phpinfo() shows:

    xdebug
    xdebug support enabled
    Version 2.2.4
    IDE Key XDEBUG_ECLIPSE

    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 ECLIPSE_DBGP ECLIPSE_DBGP
    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 On On
    xdebug.profiler_enable_trigger Off Off
    xdebug.profiler_output_dir ”/tmp/xdebug/” ”/tmp/xdebug/”
    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 ”127.0.0.1” ”127.0.0.1”
    xdebug.remote_log “/Applications/MAMP/logs/xdebug.log”
“/Applications/MAMP/logs/xdebug.log”
    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 /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

-- 
Mark Murphy, 503-809-1141, LinkedIn <http://www.linkedin.com/in/markkmurphy>
, murphysw.com
Received on Wed Jul 30 2014 - 17:37:10 BST

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