bash -v script.sh   - echos commands before variable substitution
bash -x script.sh   - echos commands after varaiable substitution