-
Notifications
You must be signed in to change notification settings - Fork 4
Installing Debugger
Chloe Zhao edited this page Apr 28, 2022
·
1 revision
- Install Homebrew
- run
brew install --cask react-native-debugger
- Run project using
npm run ios
- After simulator launches, go to "Device" > "Shake" to launch debugger
- Launch the react-native debugger (It's a separate application that's not the browser)
- Call
showAsyncStorageContentInDev()
in the react-native debugger console to see async storage
- You need to close the debugger in your browser so you can use RND (React Native Debugger)
- After switching debuggers and/or turning on/off debug mode, you may need to reload the app (try via metro & via the app) for the debugger to work.
- If you're seeing the error message below, try restarting metro. If that doesn't fix it, then try rebuilding.