Skip to content

Instantly share code, notes, and snippets.

@fracasula
Created May 28, 2014 10:38
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 fracasula/da42ff2249b5b21a8c65 to your computer and use it in GitHub Desktop.
Save fracasula/da42ff2249b5b21a8c65 to your computer and use it in GitHub Desktop.
Xdebug sample configuration
zend_extension=xdebug.so
xdebug.default_enable = On
xdebug.profiler_enable = On
xdebug.profiler_output_dir = "/tmp/xdebug"
xdebug.profiler_append = On
xdebug.profiler_enable_trigger = On
xdebug.profiler_output_name = "%u_%p.profile.xlog"
xdebug.show_local_vars = On
xdebug.dump_globals = On
xdebug.show_mem_delta = 1
xdebug.collect_params = 4
xdebug.collect_return = 1
xdebug.trace_format = 1
xdebug.trace_output_dir = "/tmp/xdebug"
xdebug.trace_output_name = "%u_%p.profile.trace"
xdebug.remote_enable = On
xdebug.remote_handler = dbgp
xdebug.remote_host = "localhost"
xdebug.remote_port = 9000
xdebug.max_nesting_level = 10000
xdebug.scream = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment