0

I'm debugging my app via WiFi. It installs successfully but I got a red screen with an error:

Could not connect to development server

The documentation says that I should set debug host and port but there is no "Debug server host & port for device" menu entry. Also, my problem is similar to this issue.

1 Answer 1

1
  • bring up the react native menu that is referenced in the link below
  • start with debugging turned off (the menu should show debug JS remotely and not stop debugging).
  • if the app is running with debugger, configure the debugging host and port: click on dev settings and type localhost:8081.
  • now try to run the app while npm start or yarn start is running in the host's terminal window.

This is the menu:

https://process.filestackapi.com/cache=expiry:max/FAoXMWT3QJPYymUBYSOw

Sign up to request clarification or add additional context in comments.

2 Comments

I did it. Thank you!
how to bring up the menu

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.