TIMOB-15018: Don't allow profiling/debugging in production

https://jira.appcelerator.org/browse/TIMOB-15018

Test case in Jira.