[英]React native ios remote js debugger unavailable
The code compiles fine and runs the app as expected and the debugger works fine on android. 代码编译正常并按预期运行应用程序,调试器在android上正常工作。 RCTWebSocket is present in ios libraries and compiles and runs fine. RCTWebSocket存在于ios库中并编译并运行良好。 I've tried everything I could think of: 我已经尝试了我能想到的一切:
Was not able to get rid of the bug but here's a workaround that might help someone: 1) Kill the packager and restart it and run the app. 无法摆脱这个错误,但这里有一个可能有助于某人的解决方法:1)杀死打包器并重新启动它并运行应用程序。 2) Press cmd + D
before the packager fully loaded and provided the js files, there is a time window when the debug option is available. 2)在打包器完全加载之前按cmd + D
并提供js文件,当调试选项可用时,有一个时间窗口。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.