Skip to content

Instantly share code, notes, and snippets.

@samir
Created January 8, 2011 17:08
Show Gist options
  • Save samir/770992 to your computer and use it in GitHub Desktop.
Save samir/770992 to your computer and use it in GitHub Desktop.

Revisions

  1. samir created this gist Jan 8, 2011.
    37 changes: 37 additions & 0 deletions php.ini
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,37 @@
    zend_extension="/usr/local/Cellar/xdebug/2.1.0/xdebug.so"

    [xdebug]
    ;xdebug.max_nesting_level=10
    xdebug.collect_params=3
    xdebug.show_local_vars=5
    xdebug.dump.GET=*
    xdebug.dump.POST=*

    xdebug.default_enable = On
    xdebug.collect_includes = On
    xdebug.collect_params = On
    xdebug.collect_return = On
    xdebug.collect_vars = On
    xdebug.dump_globals = On

    ; Enable here to use @webgrind
    xdebug.profiler_enable = 1
    xdebug.profiler_enable_trigger = 1
    xdebug.extended_info = 1
    xdebug.remote_enable = 0
    xdebug.profiler_output_dir=/tmp

    xdebug.auto_trace=1
    xdebug.trace_output_dir=/tmp
    xdebug.trace_options = 1
    xdebug.trace_format = 0

    xdebug.cli_color = 1
    xdebug.overload_var_dump = 1

    xdebug.dump.GET=*
    xdebug.dump.SERVER=REMOTE_ADDR

    ; If this setting is 1, then Xdebug will disable the @ (shut-up) operator
    ; so that notices, warnings and errors are no longer hidden.
    xdebug.scream = 0