Created
June 2, 2019 20:18
-
-
Save lcguida/761c022b44f358b060a916ae4d6e7468 to your computer and use it in GitHub Desktop.
Debug when environment variables is set
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
set -e | |
if [[ -n "${DEBUG}" ]]; then | |
set -x | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment