Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Debugging

patogallaiovlabs edited this page Jun 7, 2021 · 1 revision

Remote Debugging

Remote Debugging on iOS Simulator

  1. Run npm run ios to start the app in Simulator.
  2. Wait for the build

Remote Debugging on Android Devices

Step 1: Discover your Android device

  1. Open the Developer Options screen on your Android. See Configure On-Device Developer Options.
  2. Select Enable USB Debugging
  3. On your development machine, open Chrome.
  4. Open DevTools.
  5. In DevTools, click the Main Menu Main Menu then select More tools > Remote devices. Chrome Remote Debug Tools
  6. In DevTools, open the Settings tab.
  7. Make sure that the Discover USB devices checkbox is enabled.
  8. Connect your Android device directly to your development machine using a USB cable. The first time you do this, you usually see that DevTools has detected an unknown device. If you see a green dot and the text Connected below the model name of your Android device, then DevTools has successfully established the connection to your device. First Time Connect Android Device
  9. If your device is showing up as Unknown, accept the Allow USB Debugging permission prompt on your Android device.

Step 2: Debug content on your Android device from your development machine TODO: How to debug android app with Mac OS is to be added

Debugging

  1. Mac OS Dev environment

    • In Android Simulator, press Command + M to start remote debugging
    • In iOS Simulation, press Command + D to start remote debugging
  2. Linux Dev environment

    • In Android Simulator
  3. Windows Dev environment