How to see console.log messages of a website using android emulator?
How to see console.log messages of a website using android emulator?
If you are using Android Studio; you can open your Logcat (Alt+6) and filter for: :CONSOLE
Filtering for only :CONSOLE (rather than INFO:CONSOLE) will display all types of console messages (including ERROR, WARN, etc).
Command - get log from the emulator
adb -e logcat
adb.exe can be found at $your_installation_path$\android sdk\platform-tools
more detailed https://docs.microsoft.com/ru-ru/xamarin/android/deploy-test/debugging/android-debug-log?tabs=windows