有没有办法在启用了调试
模式的模拟器上启动React Native应用程序(以连接到RNDebugger)?
有什么平台可以启动应用程序/运行排毒吗?
最佳答案
好吧,对于那些没有找到问题的人(还有我)
https://github.com/wix/Detox/issues/403
This is not supported and will not be implemented. When you use remote JS debugger, all JS calculation is performed on another process (Chrome) and Detox cannot sync your app reliably. You can read your logs after Detox finishes running your tests.
更新:作为 BeforeAll 中的解决方法,我将 sleep 时间设置为 30 秒以在 Debug模式下重新加载应用程序
关于react-native - 如何在 Detox 中启用 `debug` 的情况下运行 RN 测试?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62712060/