Visual Basic
C#
Managed Extensions for C++
C++/CLI
Property Value
A boolean value which is true if the component writes data to a debug log file. Otherwise, false is returned.This property allows you to turn the debug log file on or off without changing any of the other debug settings. When this value is true, the component will write items to the debug log file, as specified by the DebugLogFile and DebugErrorLevel properties.
Default value: false
...
// Set Debug to true for logging to be performed
tp.Debug = true;
...