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

#1

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.js.map (common) 20.6 kB  [rendered]
[ng] chunk {cordova} cordova.js, cordova.js.map (cordova) 71.1 kB [entry] [rendered]
[ng] chunk {main} main.js, main.js.map (main) 72.1 kB [initial] [rendered]
[ng] chunk {pages-about-about-module} pages-about-about-module.js, pages-about-about-module.js.map (pages-about-about-module) 5.93 kB  [rendered]
[ng] chunk {pages-cards-cards-module} pages-cards-cards-module.js, pages-cards-cards-module.js.map (pages-cards-cards-module) 22.9 kB  [rendered]
[ng] chunk {pages-chats-chats-module} pages-chats-chats-module.js, pages-chats-chats-module.js.map (pages-chats-chats-module) 6.35 kB  [rendered]
[ng] chunk {pages-contacts-contacts-module} pages-contacts-contacts-module.js, pages-contacts-contacts-module.js.map (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.js.map (pages-groups-details-details-module) 6.13 kB  [rendered]
[ng] chunk {pages-groups-groups-module} pages-groups-groups-module.js, pages-groups-groups-module.js.map (pages-groups-groups-module) 6.42 kB  [rendered]
[ng] chunk {pages-home-home-module} pages-home-home-module.js, pages-home-home-module.js.map (pages-home-home-module) 23.6 kB  [rendered]
[ng] chunk {pages-login-login-module} pages-login-login-module.js, pages-login-login-module.js.map (pages-login-login-module) 7.56 kB  [rendered]
[ng] chunk {pages-nearby-nearby-module} pages-nearby-nearby-module.js, pages-nearby-nearby-module.js.map (pages-nearby-nearby-module) 6.42 kB  [rendered]
[ng] chunk {pages-profile-profile-module} pages-profile-profile-module.js, pages-profile-profile-module.js.map (pages-profile-profile-module) 6.49 kB  [rendered]
[ng] chunk {pages-register-register-module} pages-register-register-module.js, pages-register-register-module.js.map (pages-register-register-module) 6.59 kB  [rendered]
[ng] chunk {pages-settings-settings-module} pages-settings-settings-module.js, pages-settings-settings-module.js.map (pages-settings-settings-module) 6.56 kB  [rendered]
[ng] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 236 kB [initial] [rendered]
[ng] chunk {runtime} runtime.js, runtime.js.map (runtime) 9.49 kB [entry] [rendered]
[ng] chunk {styles} styles.js, styles.js.map (styles) 400 kB [initial] [rendered]
[ng] chunk {tabs-tabs-module} tabs-tabs-module.js, tabs-tabs-module.js.map (tabs-tabs-module) 9.38 kB  [rendered]
[ng] chunk {vendor} vendor.js, vendor.js.map (vendor) 6.23 MB [initial] [rendered]
[INFO] ... and 173 additional chunks
[ng] ℹ 「wdm」: Compiled successfully.
[cordova]  LAUNCH SUCCESS

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

#2

Did you find a solution to this?

#3

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

#4

not possible yet