1

I'm currently working on a React Native project, and I'm trying to debug my app using the React Native Developer Menu. However, when I open the Dev Menu (by pressing Cmd + control + Z on iOS Simulator), I don't see the "Open DevTool" or even "Open Debugger" option.

enter image description here

What I’ve Tried Restarted Metro using:

yarn start --reset-cache

(Also tried npm start --reset-cache but no success).

Tried manually enabling debugging by modifying ReactNativeFlipper.js and checking if react-native-flipper is interfering.

Restarted my emulator/physical device and reinstalled the app.

Environment Details

  • React Native Version: 0.75.4
  • Development OS: MacOS
  • Device/Emulator: iOS simulator
  • Using Flipper: No
  • Node.js Version: v18.18.0

Has anyone encountered this issue before? How can I bring back the "Open DevTool" option in the React Native Developer Menu? Any help would be greatly appreciated! 🚀

1 Answer 1

0

I've also faced this problem, so basically you can add the devTools manually to your react native app by just adding:

import { NativeModules } from 'react-native';
NativeModules.DevSettings.setIsDebuggingRemotely(true);

And if it is not fixed, then try another browser like chrome.

Sign up to request clarification or add additional context in comments.

1 Comment

Not Working, How to open the console

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.