You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting-started.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Getting Started
2
2
3
-
Just these steps let you start RNDebugger out of box:
3
+
Just these steps will let you start RNDebugger out of box:
4
4
5
5
- Make sure all debugger clients of React Native are closed, usually are `http://localhost:<port>/debugger-ui`
6
6
- Make sure RNDebugger is open and wait state.
@@ -11,13 +11,13 @@ Just these steps let you start RNDebugger out of box:
11
11
12
12
### The `rndebugger:` URI scheme
13
13
14
-
Launch RNDebugger by the following command:
14
+
Launch RNDebugger by typing the following command:
15
15
16
16
```bash
17
17
$ open "rndebugger://set-debugger-loc?host=localhost&port=8081"
18
18
```
19
19
20
-
The `host`, `port`is mean React Native packager, you may need to set `port` if you custom the packager port. (`8081` by default)
20
+
The `host` / `port`means React Native packager. You may need to set `port` if you customize the packager port. (`8081` by default)
21
21
22
22
From [`Debugging using a custom JavaScript debugger`](https://facebook.github.io/react-native/docs/debugging.html#debugging-using-a-custom-javascript-debugger) of React Native docs, you can use `REACT_DEBUGGER` env on react-native packager, it will try to launch RNDebugger when you turn on `Debug JS Remotely`. For example, [Artsy's Emission](https://github.com/artsy/emission/blob/45417ca425f2cba7d2da21902ef8ff1cd093a024/package.json#L28) using the env for launch RNDebugger:
23
23
@@ -31,11 +31,11 @@ Special case of Expo (CRNA):
31
31
$ REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && open -g 'rndebugger://set-debugger-loc?port=19001' ||" npm start
32
32
```
33
33
34
-
**_NOTE_** Currently the `REACT_DEBUGGER` env doesn't work with Haul bundler, please tracking[issue #141](https://github.com/jhen0409/react-native-debugger/issues/141).
34
+
**_NOTE_** Currently the `REACT_DEBUGGER` env doesn't work with Haul bundler, please track[issue #141](https://github.com/jhen0409/react-native-debugger/issues/141) for more information.
35
35
36
36
### Use [`react-native-debugger-open`](../npm-package)
37
37
38
-
If you don‘t care to add a dependency, you can use the package, it can help to:
38
+
If you don‘t need to add a dependency, you can use the package, it can help with:
39
39
40
40
- Replace `open debugger-ui with Chrome` to `open React Native Debugger` in react-native packager, saving you from closing the debugger-ui page everytime it automatically opens :)
41
41
- Detect react-native packager port then send to the app, if you launch packager with custom `--port` or use Expo, this will be very useful
@@ -44,19 +44,19 @@ If you don‘t care to add a dependency, you can use the package, it can help to
44
44
45
45
Currently the `rndebugger:` URI scheme doesn't support for Linux / Windows.
46
46
47
-
In [`react-native-debugger-open`](../npm-package), it can be send `host`,`port` setting if RNDebugger opened, but can't automatically open if closed.
47
+
In [`react-native-debugger-open`](../npm-package), it can be sent the `host` /`port` setting if RNDebugger opened, but can't automatically open if closed.
48
48
49
-
If you want to have the feature (`rndebugger:` or another way), welcome to [contributing](https://github.com/jhen0409/react-native-debugger/blob/master/docs/contributing.md)and become the maintainer.
49
+
If you want to have the feature (`rndebugger:` or another way), you are welcome to contribute. Please read [contributing](https://github.com/jhen0409/react-native-debugger/blob/master/docs/contributing.md)to become a maintainer.
50
50
51
51
## Use Redux DevTools Extension API
52
52
53
-
Use the same API as [`redux-devtools-extension`](https://github.com/zalmoxisus/redux-devtools-extension#1-with-redux) is very simple:
53
+
Using the same API as [`redux-devtools-extension`](https://github.com/zalmoxisus/redux-devtools-extension#1-with-redux) is very simple:
0 commit comments