React-Native tsx debugging in Intellij Ultimate

Answered

I am trying to debug an android app on a device using Intellij Ultimate.  The app loads and runs. However the breakpoints and debugging info are not working.  On the device I can entering into the developer mode but I am trying to hit breakpoints in the sourcecode on my windows machine to which the device is connected via USB.  I can interface with the UI in both the emulator and on the device but I am having no luck with actual debugging of the app.

I created a debug config for Javascript debug but its looking for a URL and I am not sure what the URL should be (or even if this is the way to go for an React-Native app on an actual device.

I am running the latest Intellij version and I see the console output in the Intellij terminal window. So the app is definitely loading and running, as well as interfacing with Intellij.

Any info is very much appreciated. Thanks!

0
2 comments

Invalidated cache and rebuilt. Seems to be working now.

0
Hello Michael,
It is great news that the issue is resolved now. Thank you for letting us know.
0

Please sign in to leave a comment.