Archive for October, 2008

xdebug configuration

Monday, October 27th, 2008

I’m going to post my xdebug config file because when I’m installing new developer machine (not so often … may be several times in year ) I usually have to search for some basic configuration and copy/paste/change it. It took me some time so I prefer to have it in my blog.

#change this
zend_extension=/usr/lib/php5/20060613+lfs/xdebug.so
 
[debug]
; Remote settings
xdebug.remote_autostart=off
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
 
; General
xdebug.auto_trace=on
xdebug.collect_includes=on
xdebug.collect_params=off
xdebug.collect_return=off
xdebug.default_enable=on
xdebug.extended_info=1
xdebug.manual_url=http://www.php.net
xdebug.show_local_vars=0
xdebug.show_mem_delta=0
xdebug.max_nesting_level=100
;xdebug.idekey=
 
; Trace options
xdebug.trace_format=1
xdebug.trace_output_dir=/tmp
xdebug.trace_options=1
xdebug.trace_output_name=crc32
 
; Profiling
xdebug.profiler_append=1
xdebug.profiler_enable=1
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=trace.%c

Share/Save/Bookmark