-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Changing bundler location with dev menu broken when changing port #25772
Comments
@chubakueno, would you be able to help dig in and fix this? |
@TheSavior I tried it with and without remote debugger connected on fresh RN Do i need to do something to reproduce it? |
Hi @TheSavior , i cant reproduce the error you are describing. Just downloaded a fresh 0.60.4 and tested it both in emulator (using localhost) and in physical (using my computer private IP), both using remote debugging and not, both using hot reloading and not. May you please tell me which specific commit are you in? |
Found a tiny(separate) issue during testing though: If you don't write the host, it correctly loads the js from the bundler but it fails to connect to the debugger if debugging is enabled (it searches for http://:8081, for example). I would prefer to debug the issue you refer to before landing this minor fix (master...chubakueno:master) on a pull request on master. |
Thanks for investigating. I don’t think the PR I mentioned shipped in a release yet so I’d recommend making this one line change locally in order to be able to hit the breakpoint on the line I was able to. 4ab9da1 Hopefully that works! 🤞😀 |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
When changing the port of the bundler by using the devmenu, ios tries to connect to an invalid URL.
This functionality was added in #21970 and never worked for changing ports.
When paused in the debugger, this is the url of metro that it is trying to connect to:
Set with this:
React Native version:
The text was updated successfully, but these errors were encountered: