Skip to content

Instantly share code, notes, and snippets.

@fastmover
Last active January 2, 2016 03:08
Show Gist options
  • Select an option

  • Save fastmover/8241371 to your computer and use it in GitHub Desktop.

Select an option

Save fastmover/8241371 to your computer and use it in GitHub Desktop.
Xdebug Settings
[xdebug]
xdebug.remote_enable=1
xdebug.remote_connect_back = 1
xdebug.remote_port=9000
xdebug.remote_autostart=1
xdebug.remote_handler=dbgp
xdebug.remote_host = 127.0.0.1
@fastmover

Copy link
Copy Markdown
Author

To get this installed in an ubuntu vagrant box:

sudo apt-get install php5-dev php-pear

sudo pecl install xdebug

locate xdebug.so

Modify php.ini to include the above code in the gist, and add the following line to the bottom of other loaded extensions. Search for: extension=

zend_extension=/path/to/xdebug.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment