Table of Contents

Bash - Debug

Trace

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