[HowTo] Define a constant globaly in C# (like DEBUG)
You can add the define compiler switch in your IDE. Open the project’s Property Pages dialog box. Click the Configuration Properties folder. Click the Build property page. Modify the Conditional Compilation Constants property
Android : How to Debug on the device
http://developer.android.com/guide/developing/device.html