jhen0409 / react-native-debugger

The standalone app based on official debugger of React Native, and includes React Inspector / Redux DevTools
MIT License
10.39k stars 810 forks source link

(NOBRIDGE) ERROR TypeError: null is not an object (evaluating '_reactNative.NativeModules.DevSettings.setIsDebuggingRemotely') #811

Open mohammedelnady opened 1 week ago

mohammedelnady commented 1 week ago

React Native Version: 0.76.2 (New Architecture with Hermes enabled) Debugging Tool: react-native-devsettings (No Flipper installed)

Issue Description: Encountered an error when attempting to enable Remote JS Debugging using react-native-devsettings. The following error is thrown: (NOBRIDGE) ERROR TypeError: null is not an object (evaluating '_reactNative.NativeModules.DevSettings.setIsDebuggingRemotely')

Steps to Reproduce:

Use a React Native project configured with the new architecture and Hermes. Install and integrate the react-native-devsettings package to handle remote debugging. Attempt to enable Remote JS Debugging. Observe the error.

Expected Behavior: Remote JS Debugging should activate without errors.

Actual Behavior: Remote JS Debugging fails with the above error message.

Notes:

No Flipper is installed in the project. Feel free to ask for additional details if needed.

@jhen0409 Please review this issue and provide guidance. Thank you!

Simulator Screenshot - iPhone 16 Pro - 2024-11-19 at 15 46 20 Simulator Screenshot - iPhone 16 Pro - 2024-11-19 at 15 46 23

SelvaGaneshM-OGIVoos commented 4 days ago

+1