Created
January 9, 2013 20:09
-
-
Save ajbonner/4496372 to your computer and use it in GitHub Desktop.
A pair of bash functions to speed up enabling and disabling xdebug on debian like systems
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
function enable_xdebug() { | |
sudo sed -i'' 's/^;*//g' /etc/php5/conf.d/xdebug.ini | |
} | |
function disable_xdebug() { | |
sudo sed -i'' 's/^/;/g' /etc/php5/conf.d/xdebug.ini | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment