Skip to content

Commit 525c033

Browse files
committed
Update docs/getting-started.md
1 parent cf6c1a9 commit 525c033

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

docs/getting-started.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Just these steps will let you start RNDebugger out of box:
88
- RNDebugger will try connect to debugger proxy, use port `8081` by default, you can create a new debugger window (macOS: `Command+T`, Linux/Windows: `Ctrl+T`) to specify the port if you want.
99
- Enable `Debug JS Remotely` of [developer menu](https://reactnative.dev/docs/debugging#accessing-the-in-app-developer-menu) on your app
1010

11-
## Launch by CLI or React Native packager (`macOS` only)
11+
## Launch by CLI or React Native packager
12+
13+
Platform: macOS / Linux
1214

1315
### The `rndebugger:` URI scheme
1416

@@ -18,6 +20,12 @@ Launch RNDebugger by typing the following command:
1820
$ open "rndebugger://set-debugger-loc?host=localhost&port=8081"
1921
```
2022

23+
Or `xdg-open` for Linux:
24+
25+
```bash
26+
$ xdg-open "rndebugger://set-debugger-loc?host=localhost&port=8081"
27+
```
28+
2129
The `host` / `port` means React Native packager. You may need to set `port` if you customize the packager port. (`8081` by default)
2230

2331
From [`Debugging using a custom JavaScript debugger`](https://reactnative.dev/docs/0.71/debugging#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`:

0 commit comments

Comments
 (0)