0

Can any one suggest me best plugins that available for Visual Studio Code for debugging react native app instead of chrome . Thanks in advance

keerthi c
  • 51
  • 7
  • 1
    [React Native Tools](https://marketplace.visualstudio.com/items?itemName=vsmobile.vscode-react-native) is by far the best plugin I have been using. – Suraj Malviya Dec 08 '18 at 14:29

3 Answers3

1

You can try React Native Tools extension (provided by Microsoft) to enable React Native app debugging in Visual Studio Code.

I have written steps to do so in detail in my another answer.

gprathour
  • 14,813
  • 5
  • 66
  • 90
1

You can use nodemon, i think best suited. You can set according your needs

the launch.json part

    {
      "type": "node",
      "request": "attach",
      "name": "Node: Nodemon picker",
      "processId": "${command:PickProcess}",
      "restart": true,
      "protocol": "inspector",
  },

i think chrome is not good environment for debugging in your case because it has generating extra codes while transforming

Hamit YILDIRIM
  • 4,224
  • 1
  • 32
  • 35
1
adb logcat *:S ReactNative:V ReactNativeJS:V

This command could be helpful.

Rohit
  • 3,314
  • 1
  • 13
  • 15