React-native Android Emulator 需要开启调试器模式

Taw*_*hat 3 javascript react-native

当我在 React-Native App 的 Android 模拟器中运行它时,为什么需要打开 React-Native 应用程序的调试器模式?

Bur*_*maz 5

当您的应用程序在模拟器上处于前台时,请ctrl+m同时按 。然后打开菜单,选择它Debug js remotely。打开浏览器此链接http://localhost:8081/debugger-ui。端口号可以不同。