Enable standalone use of debug-on-exit
What does this MR do and why?
Enable the use of debug-on-exit outside of the context of common.sh
This is required for workload cluster delete stage in CI, as the script is not called from common.sh exit trap in that case.