I am trying to get debugging set up on my local dev machine:
Mac MacBook Pro "17
OS X 10.7.4
MAMP 2.05 (php 5.3.6)
php info says that Xdebug is loaded, but when I try to open the site in
a browser I get a white screen. If I comment out the Xdebug items in
php.ini, it loads fine.
Here's the configuration items in php.ini:
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
Here's the xdebug section from phpinfo:
xdebug
xdebug support enabled
Version 2.1.0
Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $
Directive Local Value Master Value
xdebug.auto_trace Off Off
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.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 robbrandt /no value/
xdebug.manual_url http://www.php.net http://www.php.net
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 /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_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
FWIW, I could use xdebug either from Eclipse, Netbeans or MacGDBp. I
just want to find something that will work.
Suggestions?
Rob
Received on Fri Oct 05 2012 - 07:02:13 BST
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST