How do you debug React Native?

后端 未结 30 2716
无人共我
无人共我 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:35

    cmd ⌘ + D oddly didn't work for me. Pressing ctrl + cmd ⌘ + Z in the iOS simulator did kick off the debugging browser window for me.

    This is the screen that pops up:

    React Native debugging options

    More details here.

提交回复
热议问题