简体   繁体   English

React Native localhost 另一个调试器已经连接

[英]React Native localhost Another debugger is already connected

Not sure if anyone had this problem, since I could not look it up anywhere but I cannot see any logs for react native app because the browser console tells me that "Another debugger is already connected" its a warning that keeps looping.不确定是否有人遇到此问题,因为我无法在任何地方查找它,但我看不到任何反应本机应用程序的日志,因为浏览器控制台告诉我“另一个调试器已连接”它是一个不断循环的警告。

Metro bundler is telling me that I have to see the javascript logs in the browser. Metro bundler 告诉我,我必须在浏览器中查看 javascript 日志。 I cannot work on my app without debugging it, can anyone help?我无法在不调试的情况下使用我的应用程序,有人可以帮忙吗?

地铁站 Chrome 开发者工具

This happens if you have another tab opened at http://localhost:8081/debugger-ui.如果您在http://localhost:8081/debugger-ui. as you can only have one instance of the debugger running.因为您只能运行一个调试器实例。

You could either go back to the already running tab and see the logs there or close the other tab and refresh this one.您可以 go 回到已经运行的选项卡并查看那里的日志,或者关闭另一个选项卡并刷新此选项卡。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM