# Ionic 5 - console.log in Android Emulator

**URL:** <https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143>\
**Category:** Ionic Angular\
**Created:** [September 30, 2020, 6:49am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143 "2020-09-30T06:49:08Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![IonicGeoff](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ionicgeoff/32/128657_2.png) [@IonicGeoff](https://forum.ionicframework.com/u/IonicGeoff)\
**Post date:** [September 30, 2020, 6:49am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/1 "2020-09-30T06:49:08Z")

</div>

I’m not seeing my console.log statements in the Android emulator, I’m pretty sure I was seeing them previously?

I have compiled and released a production version of the app since I was last debugging, is there something I need to do to see the console.log output again??

---

<div class="post-metadata">

**Author:** ![aalbayrak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aalbayrak/32/134179_2.png) [@aalbayrak](https://forum.ionicframework.com/u/aalbayrak)\
**Post date:** [September 30, 2020, 7:04am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/2 "2020-09-30T07:04:59Z")

</div>

Hello Mr. IonicGeoff,  
Please open your emulator and type on terminal:

`ionic cordova run android --livereload --consolelogs --serverlogs`

also please check visual code Cordova Tools plugin. It shows all errors or console logs while you debug with it.  
Cordova Tools:  
`https://marketplace.visualstudio.com/items?itemName=msjsdiag.cordova-tools`

Please write in more details if my post didn’t help you. 🙂

---

<div class="post-metadata">

**Author:** ![IonicGeoff](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ionicgeoff/32/128657_2.png) [@IonicGeoff](https://forum.ionicframework.com/u/IonicGeoff)\
**Post date:** [September 30, 2020, 8:27am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/3 "2020-09-30T08:27:45Z")

</div>

Thank you very much for the reply.

I should have mentioned it is a Capacitor app, if that makes a difference, and also I meant that I was debugging in Android Studio?

As I said, I’m pretty sure I was seeing the debug statements previously in Android Studio?

---

<div class="post-metadata">

**Author:** ![aalbayrak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aalbayrak/32/134179_2.png) [@aalbayrak](https://forum.ionicframework.com/u/aalbayrak)\
**Post date:** [September 30, 2020, 10:26am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/4 "2020-09-30T10:26:42Z")

</div>

Dear again,  
I took screenshot of Android studio for you. It works fine with mine. Please check “Debug” and “Logcat” at the bottom tabs of the Android Studio. Also, please compaire mine and your settings. You may hide console logs by clicking related button.

 ![androidmanagerconsolelog](https://global.discourse-cdn.com/ionicframework/original/3X/5/9/59c643c953d0a9176b0484799491308e90c80e12.png)

If my Reply doesn’t help you, please share some photos from android studio.

---

<div class="post-metadata">

**Author:** ![IonicGeoff](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ionicgeoff/32/128657_2.png) [@IonicGeoff](https://forum.ionicframework.com/u/IonicGeoff)\
**Post date:** [October 10, 2020, 12:25am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/5 "2020-10-10T00:25:27Z")

</div>

Sorry for delay in replying, I haven’t been able to do any debugging until now.

With your suggestions I am again seeing console.log output - thank you very much!

---

<div class="post-metadata">

**Author:** ![aalbayrak](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/aalbayrak/32/134179_2.png) [@aalbayrak](https://forum.ionicframework.com/u/aalbayrak)\
**Post date:** [October 10, 2020, 12:48am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/6 "2020-10-10T00:48:20Z")

</div>

Hello, I’m glad you solved the problem. Happy codings. 🙂

---

<div class="post-metadata">

**Author:** ![guths](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@guths](https://forum.ionicframework.com/u/guths)\
**Post date:** [March 4, 2021, 5:49pm UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/7 "2021-03-04T17:49:49Z")

</div>

Tnks so much for ur aswer, helped me a lot

---

<div class="post-metadata">

**Author:** ![anilkunchalaece](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/anilkunchalaece/32/107560_2.png) [@anilkunchalaece](https://forum.ionicframework.com/u/anilkunchalaece)\
**Post date:** [July 2, 2021, 10:29pm UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/8 "2021-07-02T22:29:23Z")

</div>

you can use chrome inspect to get console logs while debugging with emulator.  
open chrome and enter following :

chrome://inspect:device

you can see ionic device listed in the devices and you can use inspect and check the console.logs

---

<div class="post-metadata">

**Author:** ![eevan7a9](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@eevan7a9](https://forum.ionicframework.com/u/eevan7a9)\
**Post date:** [July 6, 2021, 10:15am UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/9 "2021-07-06T10:15:11Z")

</div>

Wow, Thanks this works too. where did you get this? is this on the ionic doc? can you share the link?

---

<div class="post-metadata">

**Author:** ![anilkunchalaece](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/anilkunchalaece/32/107560_2.png) [@anilkunchalaece](https://forum.ionicframework.com/u/anilkunchalaece)\
**Post date:** [July 6, 2021, 2:00pm UTC](https://forum.ionicframework.com/t/ionic-5-console-log-in-android-emulator/197143/10 "2021-07-06T14:00:33Z")

</div>

Its not from ionic doc, I guess I read it somewhere in the stackoverflow. If you need more info check [this](https://developer.chrome.com/docs/devtools/remote-debugging/) or [this](https://www.youtube.com/watch?v=NBXjlIRw4ek)
