我应该Run Debug Configuration
在 WebStorm 中设置什么来调试由create-react-native-app 创建的应用程序?
我不知道如何调试,因为它不使用~/.node_modules/lib/node_modules/react-native-cli
但调用自定义模块react-native-scripts
来开始编译:
包.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"
},