Skip to content

Instantly share code, notes, and snippets.

@bueltge
Last active February 21, 2017 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bueltge/983274b5b2690a7a546fb7aa949a0067 to your computer and use it in GitHub Desktop.
Save bueltge/983274b5b2690a7a546fb7aa949a0067 to your computer and use it in GitHub Desktop.
Active Xdebug for profiling
[xdebug]
;XAMPP Win example
;zend_extension = "c:\xampp\php\ext\php_xdebug32.dll"
;xdebug.trace_output_dir ="\xampp\tmp"
;Linux Path
zend_extension="/usr/lib64/php/20100525/xdebug.so"
xdebug.profiler_output_dir = /var/local/xdebug
xdebug.default_enable = 1
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_name = "callgrind.%s.%R.%p.out"
xdebug.remote_connect_back = 1
xdebug.remote_enable = 1
xdebug.remote_host = 127.0.0.1
xdebug.remote_port = 9000
xdebug.collect_params = 4
xdebug.dump_globals = 1
xdebug.dump.SERVER = REQUEST_URI
xdebug.show_local_vars = 1
xdebug.extended_info = 1
xdebug.idekey = PHPSTORM
xdebug.auto_trace = 0
xdebug.trace_enable_trigger = 1
xdebug.trace_format = 1
xdebug.trace_options = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment