Skip to content

Instantly share code, notes, and snippets.

@darkdiesel
Last active February 4, 2024 15:55
Show Gist options
  • Save darkdiesel/55bd45a1147a9b7d01f882f748dd3add to your computer and use it in GitHub Desktop.
Save darkdiesel/55bd45a1147a9b7d01f882f748dd3add to your computer and use it in GitHub Desktop.
Xdebug Configuration
# xdebug 2
[XDebug]
zend_extension = "d:\dev\xampp\php\ext\php_xdebug.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "d:\dev\xampp\tmp"
;xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "d:\dev\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "d:\dev\xampp\tmp"
;36000 = 10h
xdebug.remote_cookie_expire_time = 36000
# xdebug 3
[XDebug]
zend_extension = "d:\dev\xampp\php\ext\php_xdebug.dll"
xdebug.mode = debug
xdebug.client_host = 127.0.0.1
;# For PhpStorm set below to 9000 (or update IDE's settings).
xdebug.client_port = 9000
xdebug.start_with_request=yes
xdebug.log="d:\dev\xampp\tmp\xdebug.txt"
xdebug.idekey = PHPSTORM
xdebug.discover_client_host=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment