I need to debug a prod script and not execute it and when I put in a "set -n " for that it comes back to the prompt. Is there something wrong or do I need to do something else.
Well, if nothing is returned, then syntatically the script is correct. You probably want to add 'set -v' and 'set -x' to verbosely show the execution. You can do: