# NonaTemplate :: Debugging

## React Native Debugger

> Standalone app which provides a chrome dev tools style debugger

1. install `react-native-debugger`:

   ```bash
   brew update && brew cask install react-native-debugger
   ```

2. start debugger `npm run debug`

3. start app eg.

   ```bash
   npm run ios
   ```

## Flipper

> Standalone app which provides some features missing from React Native Debugger,
> ie. Network requests and Async Storage interaction

1. Follow the [installation guide](https://fbflipper.com/docs/getting-started/index/)

2. open app

3. start app eg.

   ```bash
   npm run ios
   ```

## IDE Debugging

Debugging can be enabled in the emulator/simulator.

The debugging window will open in your browser by default when you choose the option in the emulator.

You can also listen (on `http://localhost:8081`) to this in your IDE of choice.
