Skip to content

Instantly share code, notes, and snippets.

@janhalfar
Created December 30, 2011 21:29
Show Gist options
  • Save janhalfar/1541550 to your computer and use it in GitHub Desktop.
Save janhalfar/1541550 to your computer and use it in GitHub Desktop.
Foomo.Sandbox /etc/php5/conf.d/xdebug.ini
[xdebug]
; this is obviously very specific for the install
; be aware, that zend_extensions have to be loaded
; with their full path, even if they are in
; extension_dir
zend_extension=/usr/lib/php5/20090626+lfs/xdebug.so
; this is specific to your machine i.e. the machine
; your IDE / debugger is running on
xdebug.remote_host=192.168.56.1
xdebug.remote_port=9000
; those are fairly common
xdebug.idekey=default
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
; be very careful with this one, if you have a firewall
; running on your machine, because php will try to connect
; to the debugger and if the firewall is inbetween you might
; have to wait very long for a timeout and it will seem
; that your server is not running
xdebug.remote_autostart=On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment