Reputation: 71
Can any one suggest me best plugins that available for Visual Studio Code for debugging react native app instead of chrome . Thanks in advance
Upvotes: 0
Views: 83
Reputation: 3692
adb logcat *:S ReactNative:V ReactNativeJS:V
This command could be helpful.
Upvotes: 1
Reputation: 4539
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
Upvotes: 1
Reputation: 15333
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.
Upvotes: 1