1

Can I step by step debug the react-native js code?

Otherwise, how can i debug my code to find out the problem?

jianfeng
  • 2,440
  • 4
  • 21
  • 28
  • 1
    possible duplicate of [How do you debug react-native?](http://stackoverflow.com/questions/29289304/how-do-you-debug-react-native) – Emil Vikström Sep 29 '15 at 06:45

1 Answers1

2

First, you define the debuggerwhenever you feel this get me an error.

you can see my code whenever my on press event is triggered then i have put that debuggger.

then open in simulator or device developer menu and press debug with chrome this will be very useful to step by step debugging.

then inspect the code and go to the source tab.

you can see the down step and up step arrow, using that you can debug step by step.

Ankit Vora
  • 568
  • 2
  • 12