Add set -x
This adds set -x
(used e.g. in Bash) for printing every line before executing it.
The code is the same as for debug on
.
The set
-variant seems useful for porting scripts, but supporting it may not be desired, because the feature exists already.
Alternatively set -x
could be an undocumented option pointing users to use debug on
.