Created
July 21, 2018 15:41
-
-
Save paulund/88c8ad7a5f1777daac67be5913da88fe to your computer and use it in GitHub Desktop.
Alias to enable/disable xdebug
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
alias exd="sh enabled-xdebug.sh" | |
alias dxd="sh disable-xdebug.sh" |
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
#!/bin/sh | |
mv /usr/local/opt/php71-xdebug/xdebug.so /usr/local/opt/php71-xdebug/xdebug.so.disabled | |
brew services restart php71 | |
echo "xdebug is now disabled" |
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
#!/bin/sh | |
mv /usr/local/opt/php71-xdebug/xdebug.so.disabled /usr/local/opt/php71-xdebug/xdebug.so | |
brew services restart php71 | |
echo "xdebug is now enabled" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment