DEV Community

ashad nasim
ashad nasim

Posted on

[React Native] Learn how to setup Wireless debugging in Physical device (Easy Way)

First you need to install the app in the Physical app using the command

npx react-native run-android
Enter fullscreen mode Exit fullscreen mode

After the app gets install, remove the wire from your device and then shake your device to show to debugging menu

After that press on the Settings.

React Native WireLess Debugging

After that click on Debug server host & port for device

React Native WireLess Debugging

After that add your IP in this format IP:8081. For Example:- 192.158.1.38:8081

React Native WireLess Debugging

Press OK

Press Back.

Again shake your device and then click Reload.

React Native WireLess Debugging

If you had provided correct IP and your metro server is running then it will work fine.

Discussion (0)