Let’s say I do set -x in a script “a.sh”, and it invokes another script “b.sh”.
set -x
Is it possible to let “b.sh” inherit the -x option from “a.sh”?
-x