Skip to content

Instantly share code, notes, and snippets.

@anytizer
Created March 25, 2016 07:33
Show Gist options
  • Save anytizer/c3da54b6ec5ab96c690e to your computer and use it in GitHub Desktop.
Save anytizer/c3da54b6ec5ab96c690e to your computer and use it in GitHub Desktop.
XDebug better configurations (personal purpose)
[XDebug]
; Debug: http://localhost/?XDEBUG_SESSION=debug
; Trace: http://localhost/?XDEBUG_TRACE=debug
; Profile: XDEBUG_PROFILE cookie
;
; http://localhost/?XDEBUG_SESSION=debug&XDEBUG_TRACE=debug&XDEBUG_PROFILE=debug
;
; Firefox Plugin: The easiest Xdebug - by - Nikita Nikitin
; https://addons.mozilla.org/en-US/firefox/addon/the-easiest-xdebug/
;
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.auto_trace = 0
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_vars = 0
xdebug.dump.GET = *
xdebug.dump.POST = *
xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
xdebug.execution_trace = false
xdebug.idekey = "debug"
xdebug.profiler_append = 1
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 1
xdebug.profiler_enable_trigger_value = "debug"
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind-%p.out"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9001
xdebug.trace_enable_trigger = 1
xdebug.trace_enable_trigger_value = "debug"
xdebug.trace_format = 1
xdebug.trace_options = 1
xdebug.trace_output_dir = "C:\xampp\tmp"
xdebug.trace_output_name = "trace-%p.out"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment