shell scripting

Debugging Bash Scripts with $PS4

Debugging Bash scripts can be a pain, let's be honest. There aren't a lot of built-in debugging features nor are there many tools around to aid in the task. There is, however, $PS4.