Skip to the page

Expo in practice · mid

Debugging Expo apps

In an Expo app you debug JS with React Native DevTools (press j in the terminal), inspect network calls in its Network tab (needs a development build or Expo Go), use the dev menu (m), check native setup with npx expo-doctor and npx expo config, and use Xcode or Android Studio for native crashes.

The notes

What you must know

  • npx expo start, then press j: React Native DevTools with Console, Sources and breakpoints, Network (Expo), Memory, Components and Profiler. Press m (or Cmd+D / Cmd+M) for the dev menu.
  • The Network tab needs expo-dev-client or Expo Go. Rozenite DevTools plugins are supported.
  • Config problems: npx expo config --type public | prebuild | introspect, EXPO_DEBUG=1 for plugin logs, npx expo-doctor for version mismatches.
  • Release-like testing: npx expo run:android --variant release and npx expo run:ios --configuration Release. Never judge performance in Expo Go or debug mode.
  • OTA problems on devices: Updates.readLogEntriesAsync(), Updates.isEmergencyLaunch and emergencyLaunchReason (the app fell back to the embedded bundle), updateId and channel for tagging crash reports.
  • Native crashes: run prebuild and open the generated project in Xcode or Android Studio; upload dSYMs and R8 mappings to your crash tool.

The red pen

Common traps: mistake → fix

  • Mistake: "Debug with Flipper or the Chrome debugger"

    Fix: both are gone; use React Native DevTools.

  • Mistake: "Performance looks fine in Expo Go"

    Fix: test a release build of your own app.

Easy to hard

Questions interviewers ask, easy to hard

  1. How do you debug a JS bug, a network bug and a native crash in an Expo app?
  2. An OTA update fails on some devices. How do you find out what happened on the device?
  3. How do you check what your config plugins generated?

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview