I have opened the file but don't know exactly which changes to perform in order to see the React hierarchy on the devtools.
I am developing on a real android device.
Thanks for your amazing work!
If you're debugging real device via USB, you can just run adb reverse tcp:8097 tcp:8097 on your terminal. If you're debugging in LAN, you should edit react-native/Libraries/Devtools/setupDevtools.js:
var ws = new window.WebSocket('ws://<your machine IP>:8097/devtools');
@jhen0409 could you please copy this var ws = new window.WebSocket('ws://<your machine IP>:8097/devtools'); to the docs? :)
@grundmanise I updated the readme, due to react-native changes I can't just copy the code.
Most helpful comment
If you're debugging real device via USB, you can just run
adb reverse tcp:8097 tcp:8097on your terminal. If you're debugging in LAN, you should editreact-native/Libraries/Devtools/setupDevtools.js: