Skip to content

Instantly share code, notes, and snippets.

@nCore
Created October 20, 2014 12:33
Show Gist options
  • Select an option

  • Save nCore/0ac5dda23d79d5c8f792 to your computer and use it in GitHub Desktop.

Select an option

Save nCore/0ac5dda23d79d5c8f792 to your computer and use it in GitHub Desktop.
Installing MAMP + XDEBUG + MacGDBp
1. Install MacGDBp.
2. Install MAMP.
3. Open the php.ini at /Applications/MAMP/bin/php/php5.3.6/conf/php.ini and uncommented the only line containing the xdebug.so file.
4. Add this lines at the end of php.ini
xdebug.remote_enable=1
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
After restarting apache MacGDBp stoped at the first PHP line.
Done!
answered Jan 28 '12 at 21:11 by BetaRide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment