Reputation: 63
How does one debug their react code with react-native while the app is running in android device?
Upvotes: 1
Views: 1838
Reputation: 3902
adb shell input keyevent 82
If you want to print error messages from your app, write console.log("error string or anything")
. You can also display in-app warnings by using console.warn("error string")
Hope this helps. Also, please read the documentation first before you post a question. Document for debugging. Good luck!
Upvotes: 4