Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use RN debugger for react native latest version 0.74.... #806

Open
Adil7767 opened this issue Jul 23, 2024 · 2 comments
Open

Unable to use RN debugger for react native latest version 0.74.... #806

Adil7767 opened this issue Jul 23, 2024 · 2 comments

Comments

@Adil7767
Copy link

No description provided.

@Ashishpal438
Copy link

import NativeDevSettings from 'react-native/Libraries/NativeModules/specs/NativeDevSettings'

Assign this to a dev-only button or useEffect call :

const connectToRemoteDebugger = () => {
  NativeDevSettings.setIsDebuggingRemotely(true);
};

I used this in my App.tsx file in a useEffect

useEffect(() => {
  connectToRemoteDebugger();
},[])

`

@TonyFTannous-Byd
Copy link

i use your solution, the react native debugger connect successfuly, but i new issues appear

352525954-22331002-5e09-405b-a1a4-d439aec6f2e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants