Skip to content

Instantly share code, notes, and snippets.

@BramEsposito
Last active February 16, 2018 08:42
Show Gist options
  • Save BramEsposito/579c36b38af15c56efd1 to your computer and use it in GitHub Desktop.
Save BramEsposito/579c36b38af15c56efd1 to your computer and use it in GitHub Desktop.
How to enable Drush debugging on MAMP
# set the correct php.ini for drush!
export PHPRC='/Library/Application Support/appsolute/MAMP PRO/conf/'
export PHP_OPTIONS="-dxdebug.remote_autostart=On -didekey=PHPSTORM -dremote_host=localhost -dprofiler_enable=1"
# FROM https://www.deeson.co.uk/labs/debugging-drupal-drush-real-time-phpstorm-and-xdebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment