Xdebug config:
;##### START XDEBUG SECTION ####;
xdebug.profiler_enable=0
;only use xdebug when turn on cookie XDEBUG_PROFILE or XDEBUG_PROFILE GET/POST
xdebug.profiler_enable_trigger=1
xdebug.profiler_output_name="cachegrind.out.%R"
xdebug.profiler_output_dir="/tmp"
;#### END XDEBUG ####;
Set Cookie by Chrome Extension:
View xdebug file by Kcachegrind:
sudo apt-get install kcachegrind