Enable Firebase debug mode for Android apps featured image

Enable Firebase debug mode for Android apps

by Patrick Chong
  1. Install Android debug bridge:
  2. Enable USB debugging on phone (if not already done in step 1):
  3. Connect your device to your laptop and make sure device shows up in ADB with running this command in the terminal: adb devices (if not already done in step 1)
  4. If you don’t know the package name, search for it with the following command:
adb shell "pm list packages -f <search-term>"


adb shell "pm list packages -f telegram"
# output from command

The package name is at the very end of the output(after base.apk=). In this case, it’s org.telegram.messenger

  1. To enable Firebase debug mode, run this in the terminal:
adb shell setprop <insert package name>


adb shell setprop org.telegram.messenger

setprop itself doesn’t output anything, but you can check if the property is set correctly with:

adb shell getprop

Which should return org.telegram.messenger if setprop ran successfully.

  1. Congrats, you have successfully enabled Firebase Debug Mode on your device! You can now open the app you’re testing and check Firebase Analytics events sent by your device at the DebugView page on Firebase. If you don’t see any events after a few minutes, try restarting the app, that usually triggers the app to start sending debug events.

Note: Firebase Debug mode for iOS requires using XCode on a Mac, for more info see here: