Created
August 18, 2016 02:55
-
-
Save scottalan/07a66c51629964c8002d8fe29154afa9 to your computer and use it in GitHub Desktop.
XDegug: enable|disable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable/Disable Xdebug | |
| function x() { | |
| if [ "$@" = "en" ]; then | |
| sudo cp ~/vag-env/xdebug-en /etc/php.d/xdebug.ini | |
| elif [ "$@" = "dis" ]; then | |
| sudo cp ~/vag-env/xdebug-dis /etc/php.d/xdebug.ini | |
| fi | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment