Detecting app store build in code

I would find it very useful to detect in code when the device build I’m compiling is for the store or just for debugging. I’ve checked this page in the API docs, but while I’m sure this is possible, I can’t remember where I might have seen how to do it:

http://docs.coronalabs.com/api/library/system/getInfo.html [import]uid: 8271 topic_id: 34540 reply_id: 334540[/import]