Still Unable To Use Remote JS Debugging For Android Emulator
See original GitHub issueWhen I try to enable Remote JS Debugging I am encountering “Error: Failed to load ‘http://localhost:8082/create_session’”.
It seems like this issue has been covered several times (#276, #284) and I’m wondering if there is a fix in the works, or one I haven’t yet discovered.
I remain unable to effectively debug in an Android emulator. I have just updated to Realm v0.15.0 and the issue persists. I find that if I run the suggested command adb reverse tcp:8081 tcp:8081
followed by adb forward tcp:8082 tcp:8082
that this will allow me to load my app and continue working, but as soon as I hit an error or reload I’m back to square one with the same error message and have to run the two adb commands again.
If sharing information about my project or process will help resolve this issue please let me know and I will gladly pass it along.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:7
- Comments:7 (2 by maintainers)
Top GitHub Comments
Is adb logcat the * only * way to debug if your app uses realm-js ?
I cannot use Chrome debugger at all. I use a mixture of Genymotion and real devices for Android development.
How to Debug Your App If You Use Realm
Work-Around:
None.
react-native-debugger still takes 5 minutes to load.
However, you can watch thousands of ~50 millisecond getProperty calls scroll by in the Network tab while you wait to test your code change.
Similar here. I am using
As soon as I start the JS debugger in genymotion, the promise generated by Realm.open does not succeed nor throw an error. So basically, nothing happens. Has this ever worked flawlessly?
I have two options now: