Is there a Delphi equivalent of the C# #if(DEBUG) compiler directive?
Use this:
{$IFDEF DEBUG} ... {$ENDIF}