Skip to content

Instantly share code, notes, and snippets.

@pollin14
Last active August 29, 2015 14:06
Show Gist options
  • Save pollin14/89b3438e2e5ddd95b5af to your computer and use it in GitHub Desktop.
Save pollin14/89b3438e2e5ddd95b5af to your computer and use it in GitHub Desktop.
;; RESUME:
;; Xdebug configuration file in order to use together with Netbeans.
;;
;; OS: ubuntu 14:04
;; FILENAME: /etc/php5/apache2/conf.d/20-xdebug.ini
zend_extension=xdebug.so
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
; Use ipconfig to get vboxnet ip.
xdebug.remote_host=192.168.33.11
;xdebug.remote_connect_back=1 ; Use remote_host or remote_connect_back. With a local VM remote_connect_back should work also.
xdebug.remote_port=9000
xdebug.remote_autostart=0
xdebug.remote_log=/tmp/php5-xdebug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment