Created
March 13, 2017 02:31
-
-
Save willwh/5e04301aafed2071ba881f95d7cc2574 to your computer and use it in GitHub Desktop.
Xdebug configuration for profiling; logs written to `/usr/local/var/log/cachegrind`
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
[xdebug] | |
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so" | |
xdebug.remote_enable=1 | |
xdebug.remote_port="9001" | |
xdebug.remote_autostart=1 | |
xdebug.idekey="PHPSTORM" | |
# Profile settings | |
xdebug.profiler_enable=1 | |
xdebug.profiler_output_dir="/usr/local/var/log/cachegrind" | |
xdebug.profiler_append=On | |
xdebug.profiler_enable_trigger=On | |
xdebug.profiler_output_name="%R-%u.trace" | |
xdebug.trace_options=1 | |
xdebug.collect_params=4 | |
xdebug.collect_return=1 | |
xdebug.collect_vars=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment