SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way to do this is to let bash do it:
bash
set -x
Or run it explicitly as bash -x myscript.
bash -x myscript