HomeLangBashDebug
Table of Contents
set -o xtrace set -x set +x
At the top of the script to print out the line number and the command that's being executed to STDERR.
set -xv