Last active
August 29, 2015 14:07
-
-
Save carltondickson/d62a01a1e45822cfa0ea to your computer and use it in GitHub Desktop.
Profiling options for PHPStorm configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Create new run configuration with following "Command Line > Interpreter Options" or add the options after "php" on the command line | |
/usr/bin/php -d xdebug.profiler_output_dir="/tmp/profiler" -d xdebug.profiler_enable_trigger=1 -d xdebug.profiler_enable=1 | |
Ref: http://confluence.jetbrains.com/display/PhpStorm/Profiling%20PHP%20applications%20with%20PhpStorm%20and%20Xdebug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure that the /tmp/profiler directory exists and just chmod to 777 to be sure PHP CLI can write to folder