The original MDTDebugger that I wrote is a great help for debugging tasks running in a litetouch (LTI) deployment task sequence, but it doesn't work for zerotouch (ZTI) deployments. The reason for this is that it needs to be able to display a window on the desktop of the computer that is running the task sequence; something that Systems Center Configuration Manager actively prevents. Well, this is no longer a problem because now there is a version of the MDTDebugger for ZTI deployments! This tool works in the same way as the LTI version but with a key difference: you open the debugging window on a different computer. In order to achieve this, I split the tool into two parts, the first part is the launcher that runs from the task sequence, and the second is the GUI that you use to help with the debugging.
Source : blogs.technet.com/b/deploymentguys