Remote debug into an IDE

Hello,

I’ve searched around a way to debug from my IDE a RN app create with CNRA which comes with Expo.
I use IntelliJ ( JetBrains’ family, you may be more familiar with the WebStorm name). They provide a way to debug a RN app, a RN app created with CNRA until recently I think because they blogged about it, but now Expo comes with CNRA, so how to use WebStorm with Expo ?

Some resources I’ve found about this topic, that may give some light :

https://github.com/expo/expo/issues/288
https://blog.jetbrains.com/webstorm/2016/12/developing-mobile-apps-with-react-native-in-webstorm/#comment-293692
https://blog.jetbrains.com/webstorm/2017/01/debugging-react-apps/
https://youtrack.jetbrains.com/issue/WEB-26951

Are you aware of a way to make it happens ? even a poor dirty workaround ? Debugging in the chrome console makes me feel back to 2005 :confused:

Hey @jesusthehun ! Thanks for checking out Expo.

It looks like you found https://youtrack.jetbrains.com/issue/WEB-26951 – I think jumping onto that thread is our best bet for getting their products to support Expo and Create React Native App. We also have https://expo.canny.io if you can identify some changes that we should make on Expo to get this to work.

I can’t think of any other great work arounds but someone in the community might have come up with something. We’re really sorry about that.

Hello !

They’ve managed the issue, it’s coming in the next release.

See https://youtrack.jetbrains.com/issue/WEB-26951

1 Like

Thats awesome! Its great to know that JetBrains and Expo will be compatible :slight_smile:

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.