Enable react-native-debugger and chrome debugger on Hermes (when __DEV__
is true
)
npm install react-native-devsettings
or
yarn add react-native-devsettings
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