From abf9fbbd2acca995442d2884659b50f450ce2f56 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Dec 2011 19:47:12 +0100 Subject: [PATCH] Update doc --- dev/xdebug/README | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/dev/xdebug/README b/dev/xdebug/README index cdae9809da0..e0be86d083f 100644 --- a/dev/xdebug/README +++ b/dev/xdebug/README @@ -1,4 +1,19 @@ README (English) -------------------------------- This directory contains information to know how to setup XDebug in Eclipse for -running PHP scripts with XDebug. \ No newline at end of file +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. \ No newline at end of file