MDT Debugger
From the archive (2010). Written for the tools of the time, so some details may be out of date.
Post over on the Deployment Guys Blog, a nice MDT Debugger made available for helping determining why scripts have failed.
Check it out here:
http://blogs.technet.com/deploymentguys/archive/2010/03/22/mdt-debugger.aspx