bash: is debugging enabled Edit Delete bash debug debugging enabled sh trace xtrace set -x opts=$- [ "${opts}" = "${opts//x/}" ] || echo "debugging"