How do you debug React Native?

后端 未结 30 2714
无人共我
无人共我 2020-11-27 10:19

How does one debug their React code with React Native while the app is running in app simulator?

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 10:24

    If you are using Microsoft Visual Code , then install React Native Tools extension. Then you can add break points simply by clicking on the desired line number. Follow these steps to setup and debug app :

    Dont forget to enable Debug JS Remotely in emulator if you using it.

提交回复
热议问题