Skip to content

Instantly share code, notes, and snippets.

@chetansatasiya
Last active June 19, 2017 11:11
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 chetansatasiya/f8d2b7fa179d08b07a6146d122b21478 to your computer and use it in GitHub Desktop.
Save chetansatasiya/f8d2b7fa179d08b07a6146d122b21478 to your computer and use it in GitHub Desktop.
Install Xdebug for XAMPP

Install Xdebug for XAMPP with PHP 7.x

Requirements

Setup

[XDebug]
zend_extension = "c:\xampp\php\ext\php_xdebug-2.5.0-7.1-vc14.dll"
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\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="c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
; 3600 (1 hour), 36000 = 10h
xdebug.remote_cookie_expire_time = 36000
  • Stop/Start Apache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment