Getting started

We'll have to install several packages in order to get everything to work. First, just get the react-native-debugger executable from its releases page at https://github.com/jhen0409/react-native-debugger/releases. Installation is just a matter of unzipping the file you downloaded; execution simply requires running the executable within the unzipped directory.

We'll require a couple of packages in order to connect our app, which be get by running either on a simulator or on an actual device, with react-native-debugger. Let's install these with the following command:

npm install react-devtools remote-redux-devtools --save-dev

We now have everything we need. Let's look at a few details on integrating the tools (mostly, the Redux debugger) with our app, and we'll be ready to start debugging.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset