Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

`react-native run-ios` opens two debug tabs with error

I'm building an app with react-native for a few months already. Lately, when I start simulator with 'react-native run-ios' two tabs of debugger-ui are opened in a Chrome browser simultaneously and simulator gives error on Connection to http://localhost:8081/debugger-proxy?.... Closing one tab of debugger-ui and refreshing another one, plus simulator, solves the problem, but I want to figure out the reason why this is happening and solve it completely.

I think that has to do something with simulator rather than react-native itself. Any ideas where to look for solving this issue and why it occurs?

Thanks in advance.

like image 347
A1exandr Avatar asked Aug 17 '16 07:08

A1exandr


1 Answers

The only way I found to solve this problem is to RESET simulator completely.

Go to Simulator and click on Reset Content and Settings....

like image 62
A1exandr Avatar answered Oct 16 '22 07:10

A1exandr