Installing Debugger - uoftblueprint/the-period-purse-ios GitHub Wiki
Installing Debugger
- 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
Running Debugger Notes
- 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.