No console log output when running on device using Ionic 4?


Hey all,

What happened that now when I run the app on debug mode on the the device I cannot see output on console anymore?

I just run:
% ionic cordova run android -lc

The apps runs on my Samsung device but none of my debug outputs are displayed on my terminal console (Mac computer), what I see is just Ionic outputs, something like:

[ng] Date: 2019-02-15T17:31:26.394Z
[ng] Hash: ae25cfd2ee8089660e5e
[ng] Time: 55056ms
[ng] chunk {common} common.js, (common) 20.6 kB  [rendered]
[ng] chunk {cordova} cordova.js, (cordova) 71.1 kB [entry] [rendered]
[ng] chunk {main} main.js, (main) 72.1 kB [initial] [rendered]
[ng] chunk {pages-about-about-module} pages-about-about-module.js, (pages-about-about-module) 5.93 kB  [rendered]
[ng] chunk {pages-cards-cards-module} pages-cards-cards-module.js, (pages-cards-cards-module) 22.9 kB  [rendered]
[ng] chunk {pages-chats-chats-module} pages-chats-chats-module.js, (pages-chats-chats-module) 6.35 kB  [rendered]
[ng] chunk {pages-contacts-contacts-module} pages-contacts-contacts-module.js, (pages-contacts-contacts-module) 6.14 kB  [rendered]
[ng] chunk {pages-groups-details-details-module} pages-groups-details-details-module.js, (pages-groups-details-details-module) 6.13 kB  [rendered]
[ng] chunk {pages-groups-groups-module} pages-groups-groups-module.js, (pages-groups-groups-module) 6.42 kB  [rendered]
[ng] chunk {pages-home-home-module} pages-home-home-module.js, (pages-home-home-module) 23.6 kB  [rendered]
[ng] chunk {pages-login-login-module} pages-login-login-module.js, (pages-login-login-module) 7.56 kB  [rendered]
[ng] chunk {pages-nearby-nearby-module} pages-nearby-nearby-module.js, (pages-nearby-nearby-module) 6.42 kB  [rendered]
[ng] chunk {pages-profile-profile-module} pages-profile-profile-module.js, (pages-profile-profile-module) 6.49 kB  [rendered]
[ng] chunk {pages-register-register-module} pages-register-register-module.js, (pages-register-register-module) 6.59 kB  [rendered]
[ng] chunk {pages-settings-settings-module} pages-settings-settings-module.js, (pages-settings-settings-module) 6.56 kB  [rendered]
[ng] chunk {polyfills} polyfills.js, (polyfills) 236 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, (runtime) 9.49 kB [entry] [rendered]
[ng] chunk {styles} styles.js, (styles) 400 kB [initial] [rendered]
[ng] chunk {tabs-tabs-module} tabs-tabs-module.js, (tabs-tabs-module) 9.38 kB  [rendered]
[ng] chunk {vendor} vendor.js, (vendor) 6.23 MB [initial] [rendered]
[INFO] ... and 173 additional chunks
[ng] ℹ 「wdm」: Compiled successfully.

I really need to see those outputs, what can I do?


Did you find a solution to this?


Nope, the only way I could was using chrome://inspect/#devices, actually it’s very effective and very useful.


not possible yet