-x option can be used to enable tracing (set -x) of the currently run shell script .do file. -xx option enables tracing for all invoked .do files further, which just sets $REDO_TRACE=1 environment variable.