How To See The Sbatch Command That Gets Run

Yep, that was it… thanks!

Is there a way to see the sbatch command that is actually getting run? And any other tips for debugging these kinds of issues?