php - XDebug not profiling POST -


how can configure xdebug profile all requests, post, get, ajax, , without query string parameters?

the current configuration (below) creating profile (cachegrind.out) files requests , post requests don't have query string parameters.

/etc/php5/apache2/conf.d/20-xdebug.ini

zend_extension = /usr/lib/php5/20121212/xdebug.so xdebug.profiler_enable_trigger = 1 xdebug.profiler_enable = 0 xdebug.profiler_append = 0 

conf.d/my.conf

<directory "/var/www/html/sub">         # limit profiling files in directory         rewriteengine on         rewriterule (.*\.php) $1?xdebug_profile=1 [qsa,l] </directory> 

ubuntu 14.04.5 lts

php version 5.5.9-1ubuntu4.21

xdebug version 2.5.1

the source of problem profile file post request being overwritten next request client side redirect. solution use different profiler output filename

ref: https://bugs.xdebug.org/view.php?id=1445

xdebug.profiler_output_name=cachegrind.out.%s

many xdebug team.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -