The usual solution for this is doing like this:

{$ifdef Debug}
  {$apptype console}
{$endif}

{$ifdef Debug}
  WriteLn(....);
{$endif}

If you want to see the writelns you build with Debug defined.

-- 
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to