Skip to content

gusgard/react-native-devsettings

Repository files navigation

react-native-devsettings

supports iOS supports Android npm npm license

Enable react-native-debugger and chrome debugger on Hermes (when __DEV__ is true)

Installation

npm install react-native-devsettings

or

yarn add react-native-devsettings

Usage

Add the following line to your App.tsx file

import "react-native-devsettings";
// OR if you are using AsyncStorage
import "react-native-devsettings/withAsyncStorage";

Execute cmd+d or cmd+m on your simulator/emulator and select (*) Debug JS Remotely

Example