debugging android react native code example
Example 1: react native debugger
$ brew update && brew cask install react-native-debugger
Example 2: will console.log will be automatically disabled in react native for development build
{
"presets": ["react-native"],
"env": {
"production": {
"plugins": ["transform-remove-console"]
}
}
}