What do I need to install in Run Debug Configuration
in WebStorm to debug the application created by create-react-native-app ?
I don’t understand how to debug, because it doesn’t use ~/.node_modules/lib/node_modules/react-native-cli
, but a custom module called react-native-scripts
to start compilation:
package.json:
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js --watch",
"menu": "adb shell input keyevent 82"
},
source
share