debug in release mode react native code example Example: how to identify debug and release build in react native if (__DEV__) { console.log('I am in debug'); }