PHP profiling with Xdebug

Best is to enable Xdebug with a trigger, that is added by a .htaccess. With this method I can profile a single application within my development environment. Xdebug settings xdebug.profiler_enable_trigger = 1 xdebug.profiler_enable = 0 xdebug.profiler_output_dir = /var/www/html/xdebug/ To make use of Xdebug I need to add a GET, POST or COOKIE variable with Read more…