The WriteDebugInfo property has been deprecated in favor of the DebugInfoType property in the same class. All future work ...

The WriteDebugInfo property has been deprecated in favor of the DebugInfoType property in the same class.  All future work should use this new property.  
The WriteDebugInfo property indicates whether or not debugging information is to be written to a log file.
Values: TRUE or FALSE. If TRUE, debug information is written to a file.