jhen0409 / jhen0409/react-native-debugger

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

Open
#811 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.4k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/user-attachments/assets/8d1230c9-de0b-416f-9b1d-f751609c6a5f)
![Simulator Screenshot - iPhone 16 Pro - 2024-11-19 at 15 46 23](https://github.com/user-attachments/assets/89af4cc7-12c2-4ba3-aa35-a92d06143ad4)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.