dolibarr/dev/setup/xdebug/README

19 lines
611 B
Plaintext
Raw Permalink Normal View History

2009-09-10 23:46:10 +02:00
README (English)
--------------------------------
This directory contains information to know how to setup XDebug in Eclipse for
2011-12-07 19:47:12 +01:00
running PHP scripts with XDebug.
To setup your PHP, you must add something like this into your php.ini:
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
xdebug.remote_enable=off
xdebug.remote_handle=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=1;
xdebug.show_local_vars=off
xdebug.profiler_output_dir=/var/tmp
xdebug.profiler_append=0
Then xdebug profiling can be enabled by adding XDEBUG_PROFILE=1 on URL.