[Debugger] Error for newbs trying to debug on-device
See original GitHub issueI love the idea being able to debug on the phone (it’s quite essential, actually). However for newbs doing it for the first time (/me raises hand), we’re greeted with the following error:
2015-06-11 16:55:27.840 [error][tid:com.facebook.React.WebSocketExecutor][RCTWebSocketExecutor.m:117] WebSocket connection failed with error Error Domain=NSPOSIXErrorDomain Code=61 "The operation couldn’t be completed. Connection refused"
2015-06-11 16:55:29.802 [error][tid:main][RCTWebSocketExecutor.m:58] Connection to http://localhost:8081/debugger-proxy timed out. Are you running node proxy? If you are running on the device, check if you have the right IP address in `RCTWebSocketExecutor.m`.
I think it’s bad form to ask non-objc devs to edit a class file. There has to be some type of configuration that we can edit outside of a class file buried deep in the depths of a subproject dependency.
Thoughts?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Debugger Error when trying to debug PIC24EP with MPLAB ...
I decided to try and run the debugger on a simpler code to just blink an LED but I get the same error....
Read more >Not Able To Debug App In Android Studio - Stack Overflow
I solved this issue after doing the following steps: Go to Tools==>android==>Disable ADB integration and enable it again. After that, unplug USB from...
Read more >Debugging fails with "Error 1" if hardened runtime is enabled
Hi,. I'm unable to debug my mac application under XCode when Hardened Runtime is enabled. I'm getting 'Message from debugger: Error 1'.
Read more >How to DEBUG android app and SOLVE ERRORS - YouTube
In this video, I am going to solve all the errors by running the application in debug mode.A viewer submitted this project to...
Read more >Can't debug with VS 2022 17.1.0 Prev 1.0 · Issue #6480 - GitHub
If I start the app via Start Without Debugging - it just hangs on the splash screen. Hence, that was why I tried...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

When I tap
Debug JS Remotelyon my iPhone, i get the same error. Where should I be looking to fix this?OK, the issue is that i was running from a JS bundle. The docs should state how to get this done properly. Currently there is no mention of updating AppDelegate.m also.
Having to update configuration strings in two different places really seems counterintuitive.
I once published the idea of having end-developers update Info.plist. What are your thoughts on leveraging Info.plist for these types of configs?