Discussion

Debugging React Native App

When I develop mobile apps with React Native, it was a pain that it’s not able to debug the app.

I found that React Native provides the feature.

After you run *react-native run-android* and app is running in mobile, hold up the menu button in mobile device. New popup menu will be opened, click *Enable Remote Debugging*.

New webpage will be opened in the browser in your pc that linked with your phone. Now you can debug the app just like normal webapp.
You can set breakpoints in the source code, check console logs and the like.
Yay!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *