WebStorm React Native won't run nor debug

Hi

I've followed the blog instructions (https://blog.jetbrains.com/webstorm/2016/12/developing-mobile-apps-with-react-native-in-webstorm/), but I can't run or debug application on the device. When I press Run/Debug buttons I only get Metro Bundler started then nothing happens (doesn't start the iOS) app. However I can debug the app using Chrome or React Native Debugger without any problems - the debugger command placed in code works as well.

Also I've tried various variants, like starting the app from XCode, turning on Chrome debugger and so on (in various order) - nothing works with WebStorm (can place breakpoints which will be ignored).

When I try to stop Run/Debug configuration I get cryptic error: "Error running 'iOS': Unknown error".

Specs

I'm using the the latest (2018.2) WebStorm and 0.57.4 React Native.

My Run/Debug configuration:

0
2 comments

https://youtrack.jetbrains.com/issue/WEB-34895 is fixed in upcoming 2018.3. You can try the EAP build to see if it works for you

1

Thanks, seems to work so far!

0

Please sign in to leave a comment.