Writes debug message to the trace. This constrained to dev debugging, so it's safe if you want to trace a password etc...
Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
<ConditionalAttribute("DEBUG")> _
Public Sub Debug ( _
    format As String, _
    ParamArray args As Object() _
)
[ConditionalAttribute("DEBUG")]
public void Debug(
    string format,
    params Object[] args
)
[ConditionalAttribute(L"DEBUG")]
public:
void Debug(
    String^ format, 
    ... array<Object^>^ args
)
[<ConditionalAttribute("DEBUG")>]
member Debug : 
        format:string * 
        args:Object[] -> unit
public function Debug(
    format : String, 
    ... args : Object[]
)
Parameters
- format 
 Type: System.String- A format string that contains zero or more format items, which correspond to objects in the args array. 
- args 
 Type: array<System.Object[]- An object array containing zero or more objects to format. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.