Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save esbenboye/73021ad5e9eac7ffe609016544b3f915 to your computer and use it in GitHub Desktop.
Save esbenboye/73021ad5e9eac7ffe609016544b3f915 to your computer and use it in GitHub Desktop.
1) Find your php.ini php -i | grep 'php.ini' or phpinfo();
2) Add the following lines to php.ini (remember you can have multiple depending on your setup)
xdebug.mode = debug
xdebug.start_With_request = yes
xdebug.client_port = 9003
xdebug.client_host = 127.0.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment