Skip to content

Instantly share code, notes, and snippets.

@tommcfarlin
Created July 18, 2017 12:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tommcfarlin/0402a835d31c3e0a98260a88a527ce5e to your computer and use it in GitHub Desktop.
Save tommcfarlin/0402a835d31c3e0a98260a88a527ce5e to your computer and use it in GitHub Desktop.
[WordPress] Configure Valet for Xdebug
<?php
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
[xdebug]
zend_extension="/usr/local/opt/php71-xdebug/xdebug.so"
xdebug.remote_enable=true
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment