Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note on connecting to React Native simulator. #3214

Merged
merged 4 commits into from
Jul 29, 2022
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ react-devtools

![React DevTools](/docs/assets/ReactDevTools.png)

It should connect to your simulator within a few seconds.
It should connect to your simulator within a few seconds.

> Note: If you have trouble connecting to your simulator, especially if using an Android 12 simulator, try running `adb reverse tcp:8097 tcp:8097` in a new terminal.
meatnordrink marked this conversation as resolved.
Show resolved Hide resolved

> Note: if you prefer to avoid global installations, you can add `react-devtools` as a project dependency. Add the `react-devtools` package to your project using `npm install --save-dev react-devtools`, then add `"react-devtools": "react-devtools"` to the `scripts` section in your `package.json`, and then run `npm run react-devtools` from your project folder to open the DevTools.

Expand Down