skip to Main Content

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.

photo: https://i.stack.imgur.com/jrX4b.png

7

Answers


  1. Chosen as BEST ANSWER

    installed the desktop version of flipper with the redux debugger plugin. The problem is solved, albeit in a different way :)


  2. Shake your device or pick "Shake Gesture" from the Hardware menu in the iOS Simulator to get to the developer menu. you can check this tutorial here.

    Login or Signup to reply.
  3. Choose Open Debugger option and then inspect the browser webpage and go to the console tab in that

    Login or Signup to reply.
  4. You should disable hermes on Podfile:

    • Set :hermes_enabled => false
    • Install pods cd ios && pod install && cd ..
    • Build App npx react-native run-ios

    Reference: https://github.com/facebook/react-native/issues/34615#issuecomment-1238913946

    Login or Signup to reply.
  5. 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.

    Login or Signup to reply.
  6. We can debug the application with ReactNative 0.70.0 with Hermes Enabled by following this reference

    Login or Signup to reply.
  7. If you are using Google Chrome:

    1. Navigate to chrome://inspect in a Chrome browser instance.
    2. Click on Configure...
    3. Add localhost:8081 on Target discovery settings and click Done.
    4. Your App will be displayed on Remote Target. Note: Please make sure that
      you’re running Metro.
    5. Click Inspect

    References: https://reactnative.dev/docs/hermes

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search