title: How to check programmatically whether app is running in debug mode or not?
body: <p>I have to identify at some place in my app that, whether my app is running in debug mode or live mode. Is there any function or piece of code available to check that. that returns true/false in either case on/off. if so, please help me out. Thanks in advance.</p>