【发布时间】:2017-01-18 19:31:44
【问题描述】:
我有一个 react native android 应用程序,我目前正在使用 android 模拟器 在 windows 机器上进行调试。
我可以打http://localhost:8081/debugger-ui
它告诉我
React Native JS code runs inside this Chrome tab.
Press ⌘⌥J to open Developer Tools. Enable Pause On Caught Exceptions for a better debugging experience.
Status: Waiting, press ⌘R in simulator to reload and connect.
当我打开 chrome 开发人员工具时,我没有看到我的反应代码被加载到该选项卡的“源”中。
所以我的问题是,我如何才能让我的手机将反应内容加载到 chrome 标签中?我希望至少能在我的 chrome 开发者工具中看到 console.log 的内容。
【问题讨论】:
标签: debugging reactjs react-native