Very new to React Native - Debugging in Visual Studio Code?

后端 未结 5 1227
旧巷少年郎
旧巷少年郎 2020-12-10 18:52

I followed the instructions for debugging in VSCode as per

https://github.com/Microsoft/vscode-react-native

I attached my Nexus 6P with USB cable with my MBP

5条回答
  •  [愿得一人]
    2020-12-10 19:18

    Follow these steps

    • Install Extension React-native Full Pack

    • Create Launch.json

    • Select Debug iOS or Android .Add Breakpoint and enjoy.

    Note: Please make sure you enable Debug JS Remotely

    Now grab a coffee and enjoy!

提交回复
热议问题