Skip to content

Usage with Expo #84

@AdrienLemaire

Description

@AdrienLemaire

** Please ensure:

  • I'm using the latest version of react-native-debugger
  • I have read README.md

** Please provide the following information if you found some bugs or have question:

React Native version: Expo SDK 17
Platform: Android
Is real device of platform: No
Operating System: Arch Linux

I'm trying to get react-native-debugger to work with Expo and my genymotion android device, without success so far. When running the debugger, it will always listen on a random port, and I cannot figure out a way to tell expo and react-native-debugger to agree on the port.

  • Updating my package.json file with the following script didn't help:
       "scripts": {
        "postinstall": "rndebugger-open --expo"
      }
    
  • Since Expo starts the RN packager for me, I don't understand how to run REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19001' ||" npm start
  • I tried xdg-open "rndebugger://set-debugger-loc?host=localhost&port=19001"xdg-mime query default http without success (not sure how to assign react-native-debugger to this specific mime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions