Snippet - idea for debug.print

I just posted idea for debug.print on Codeshare. Feel free to discuss and make suggestions here.

here is an idea:


 System.Diagnostics.Debugger.IsAttached 

it allows you to know if the VS Debug mode is attached or not :), so basically you can disable debug.print if your application is not running in debug modeā€¦

Cheers,

1 Like