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

Issue in Remote Js Debugging #18212

Closed
sathishu37 opened this issue Mar 6, 2018 · 6 comments
Closed

Issue in Remote Js Debugging #18212

sathishu37 opened this issue Mar 6, 2018 · 6 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@sathishu37
Copy link

Create a new project using the latest version of react native(react-native": "0.54.0) causing an error when in open Remote Js Debugger.

Environment

(Environment:
OS: Linux 4.10
Node: 8.9.4
Yarn: Not Found
npm: 5.6.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found

Packages: (wanted => installed)
react: 16.3.0-alpha.1 => 16.3.0-alpha.1
react-native: 0.54.0 => 0.54.0

Expected Behavior

When I connect with remote Debugger it opens normally

Actual Behavior

When I connect with remote Debugger it shows following error in console.

error

@AdrianMrn
Copy link

Usually this Chrome Extension fixes this issue for me: https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en

@MrZhang123
Copy link

MrZhang123 commented Mar 7, 2018

I have same trouble in genymotion, when i run android app in genymotion, debug open http://10.0.3.2:8081/debugger-ui , not http://localhost:8081/debugger-ui , and the app can't connect debuger , but it good in devices , how to fix? #18237

@rikur
Copy link

rikur commented Mar 10, 2018

Copying in my short term solution from the duplicate issue:

Pulling in #17983 and reverting #17720 fixed remote JS debugging for me.

@ld-ucaya
Copy link

ld-ucaya commented May 21, 2018

I get the same error with React Native 0.55.3 on a Honor 7A device with Android 8.0.0.
Though it seems to be ok when I connect to the debugger through http://localhost:8081 instead of http://ip_address:8081

@aloifolia
Copy link

This happens for me with React Native 0.55.4. Why was this issue closed?

@thunderclap1030
Copy link

thunderclap1030 commented Oct 24, 2018

If you use gennymotion, you need setting field debug server host & port mapping with ipv4 your computer, you can explore it in Dev Settings inside menu control device.
Example find ip device for mac : ifconfig -> inet 192.168.1.6 and fill it in field above

@facebook facebook locked as resolved and limited conversation to collaborators Mar 12, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

8 participants