How to debug responsive changes in Android Studio

I encode React-native in Android Studio for Windows and use an emulator. I don’t know how to debug my code?

How can I console.log in code and see the results? How can I check the items? How can I put a breakpoint in code?

Any tool / tutorial suggestion would be a big help.

Thanks Negin

+5
source share
2 answers

Here is the white paper for debugging: Doc

You can debug code in Chrome

+4
source
  • Tick ​​next to the number. where do you want to debug
  • Debug the project that appears next to the launch icon.
  • Perform your Ui task, where you execute your debug line (it will show a sign next to the line number when called)
  • You can move the line up and down from the debug console.
+1
source

Source: https://habr.com/ru/post/1258579/


All Articles