To debug redux, I use React Native Debugger, but for this you need to enable Debug JS Remotely. I don’t have this tab in the developer menu. I use redux, redux-toolkit, redux-saga.
Question posted in React native
The official React Native documentation can be found here.
The official React Native documentation can be found here.
7
Answers
installed the desktop version of
flipper
with theredux debugger plugin
. The problem is solved, albeit in a different way :)Shake your device or pick
"Shake Gesture"
from theHardware
menu in the iOS Simulator to get to the developer menu. you can check this tutorial here.Choose
Open Debugger
option and then inspect the browser webpage and go to theconsole
tab in thatYou should disable hermes on Podfile:
:hermes_enabled => false
cd ios && pod install && cd ..
npx react-native run-ios
Reference: https://github.com/facebook/react-native/issues/34615#issuecomment-1238913946
You can check this website and You can check the hermes installation settings. You have to configure chrome settings for using debug mode with hermes.
We can debug the application with ReactNative 0.70.0 with Hermes Enabled by following this reference
If you are using Google Chrome:
chrome://inspect
in a Chrome browser instance.Configure...
localhost:8081
on Target discovery settings and click Done.you’re running Metro.
References: https://reactnative.dev/docs/hermes