WebStorm debugging debugging not working

I use WebStorm to develop an adaptive application + emulator from an Android Studio virtual device.

The application loads fine from WebStorm into the emulator, but the debugger does not work, it does not stop at breakpoints.

These are my settings:

  • This is the WebStorm configuration:

    launch / debug configurations

  • The device in the emulator is Nexus 5X API 22 (Android 5.1 x86), I turned on Remote JS Debugging after it was first loaded.

  • WebStorm Output:

    / usr / local / bin / node --debug-brk = 60746 --expose_debug_as = v8debug / Applications / WebStorm.app / Contents / plugins / JavaScriptDebugger / proxy / launcher.js --port = 8081 - sourcesStoragePath = / DEV / calculatorApp /.tmp/reactNativeBuild The debugger listens for [::]: 60746 [intellij] I downloaded debuggerWorker.js (Logic to run the React Native application) from Packager.

    [intellij] .

    [intellij] Proxy (Packager) React Native application

    [intellij] .

    "CalculatorApp" appParams: { "initialProps": {}, "rootTag": 1}. DEV === true, ,

    137 ( 9: SIGKILL)

+6
1

, IntelliJ/WebStorm , create-react-native-app app-name .

, , IntelliJ/WebStorm.

. → → →

, create-react-native-app , - .

create-react-native-app app-name, IntelliJ/WebStorm, , - node-modules .expo.

, React Native IntelliJ/WebStorm, android, ios, __tests__, create-react-native-app app-name.

0

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


All Articles