I need to debug my react-native app on VsCode and I'm new to react native development.. :) I search and follow different methods but no luck.. :( First I follow this methods https://medium.com/@tunvirrahmantusher/react-native-debug-with-vscode-in-simple-steps-bf39b6331e67 and follow this methord https://www.youtube.com/watch?v=0_MnXPD55-E also. but no luck.
Let me explain my debug procedure.
First add react native configurations to lunch.json.
Add packager.info.json to .expo directory like this
{ "expoServerPort": 19001, "packagerPort": 19002, "packagerPid": 65931 }
Then add settings.json to .vscode directory like this
{ "react-native": { "packager": { "port" : 19002 } } }
Then run Attach to packager on vscode debug options and enable
Remote JS Debugging
on react native app running on my real android device. but vscode debugging point does not trigger.
After I tried
Debug Android
option vscode debugger. then http://localhost:8081/debugger-ui/ window is pop up. but vscode debugger point dose not hit.
Can anyone know how to setup react native app debugging with vscode properly please give me directions to do that... :) :) Thank you..