Simply supply the -x parameter, e.g.
bash -x myscript.sh
Δ
Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Email Address:
Sign me up!