Yutt's Blog

React Native Debugger

2018/02/02 Share

RN集成了redux之后,测试工具必不可少。使用React Native Debugger可以完美解决该问题。

安装(for macOs)

1
$ brew update && brew cask install react-native-debugger

使用

1
$ open "rndebugger://set-debugger-loc?host=localhost&port=8081"

Then:
在模拟器或真机上打开”Debug Js Remotely”选项

CATALOG
  1. 1. 安装(for macOs)
  2. 2. 使用