Skip to content

Instantly share code, notes, and snippets.

@timwco
Created January 8, 2018 14:29
Show Gist options
  • Save timwco/8626c2884c5a8cc067be259697110f02 to your computer and use it in GitHub Desktop.
Save timwco/8626c2884c5a8cc067be259697110f02 to your computer and use it in GitHub Desktop.
React Native - Debug in RELEASE MODE

In AppDelegate.m

#import <React/RCTLog.h>

Then in the didFinishLaunchingWithOptions function add:

RCTSetLogThreshold(RCTLogLevelInfo - 1);


Then in Build Settings, search for Preprocessor Macros and set Production to DEBUG=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment