Instantly share code, notes, and snippets.

Embed
What would you like to do?
XEBUG on/off alias
alias xdebugon='export XDEBUG_CONFIG="idekey=phpstorm-xdebug" && sudo mv /etc/php5/mods-available/xdebug.ini.no /etc/php5/mods-available/xdebug.ini && sudo service apache2 restart'
alias xdebugoff='sudo mv /etc/php5/mods-available/xdebug.ini /etc/php5/mods-available/xdebug.ini.no && sudo service apache2 restart'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment