Skip to content

Instantly share code, notes, and snippets.

@a7madev
Last active July 15, 2016 09:30
Show Gist options
  • Save a7madev/ed72f5e8550379bf323909cef35b4288 to your computer and use it in GitHub Desktop.
Save a7madev/ed72f5e8550379bf323909cef35b4288 to your computer and use it in GitHub Desktop.
PHP and xdebug

PHP xdebug on OS X

PHP xdebug on Windows

XAMPP

  1. Open php.ini from XAMPP Control Panel

  2. Uncomment xdebug section

  3. Restart XAMPP Apache

  4. Go to PHPStorm, open settings and select PHP Interpreter

  5. Add new Interpreter, select "C:\xampp\php\php.exe" and save. Note: Make sure xdebug is "installed"

  6. Select Run >> Start listenening for PHP connections

  7. Refresh your website

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