Debug WebStorm to create-responsive-native application

What do I need to install in Run Debug Configurationin WebStorm to debug the application created by create-react-native-app ?

enter image description here

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-scriptsto 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"
  },
+2
source share
2 answers

I don’t think you can do it, at least not so, and why don't you do it anyway?

" " Chrome. , , . . : https://facebook.imtqy.com/react-native/docs/debugging.html

+1

Source: https://habr.com/ru/post/1016882/


All Articles