Ionic capacitor android emulator make Console log visible in terminal

I would like to be able to see console.log messages in terminal when using Android emulator with capacitor.

HTML:

<button class="btn btn-danger" (click)="callSomething($event)">
  Console something
</button>

TS:

  public callSomething() {
    console.log('Hello  World!!!');
  }
  • @ionic/angular”: “^5.5.2”

  • @capacitor/core”: “3.0.2”

when I click button “console something”, nothing is printed in terminal

Terminal Command:

ionic capacitor run android --livereload --external --consolelogs