jhen0409 / jhen0409/react-native-debugger
Cannot run Debuger in RN .52 - Permission Denied
- Dominant language
- JavaScript
- Stars
- 10.4k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
I cant seem to run this debugger or connect it with my device
I am trying to [Connect RN debugger with a real Device](https://github.com/jhen0409/react-native-debugger/blob/master/docs/react-devtools-integration.md#how-to-use-it-with-real-device)
After running `$ REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19000' ||" yarn start` as per https://github.com/jhen0409/react-native-debugger/blob/master/docs/getting-started.md
I get this:
```
- Starting custom debugger by executing: unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19000' || "/home/computer/Desktop/react-native-app"
- Error while starting custom debugger: Error: Command failed: unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19000' || "/home/computer/Desktop/react-native-app"
- open: invalid option -- 'g'
- /bin/sh: 1: /home/computer/Desktop/react-native-app: Permission denied
```
React Native Debugger app version: "0.3.15"
React Native version: "0.52.0",
Platform: Android
Is real device of platform: Yes
Operating System: Linux Ubuntu 17.04
Followed this too https://github.com/jhen0409/react-native-debugger/tree/master/npm-package
[UPDATE]: This works```REACT_DEBUGGER="rndebugger-open --open --port 19000" yarn start
yarn run v1.3.2``` but console is stuck ```Starting custom debugger by executing: rndebugger-open --open --port 19000 "/home/computer/Desktop/react-native-app"``` with no connection with RNdebugger. I get this from the debugger's console window:
```WebSocket connection to 'ws://localhost:19000/debugger-proxy?role=debugger&name=Chrome' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
Vn @ bundle.js:9
Kn @ bundle.js:9```
Contributor guide
Assessment
This issue has not been assessed yet.