500Docs
  • React Libraries
  • SSR
  • React Native

›React Native

React Libraries

  • Calendar

Server-Side Rendering

  • Setup
  • Redux Integration

React Native

  • Tools
  • Setup (iOS)
  • Setup (Android)
  • Running a Project
  • Linking Libraries
  • Debugging
  • Appcenter
  • Detox
  • Bugsnag
  • Notifications
  • Routing
  • Splash Screen
  • RTL
  • Animations
  • Common Problems

Debugging

Read React Native's documentation on Debugging

React Native Debugger

We suggest using React Native Debugger

Install and run RND, and then select 'Enable Remote JS Debugging' [⌘M (Android) / ⌘D (iOS)]

Network requests

Add this in your index.js:

// See network requests in React Native Debugger
if (__DEV__) {
  GLOBAL.XMLHttpRequest = GLOBAL.originalXMLHttpRequest || GLOBAL.XMLHttpRequest;
}

Redux Devtools

The setup is exactly the same as in web applications


Last updated on 1/30/2019 by Vova Porton
← Linking LibrariesAppcenter →
  • React Native Debugger
  • Network requests
  • Redux Devtools
Copyright © 2020 500Tech