how to enable application logs(chrome_debug.log) on chromebook

78 views
Skip to first unread message

Jason

unread,
Dec 14, 2016, 1:50:38 PM12/14/16
to Chromium-Apps-Announce
I am currently developing a chrome application for chromebook. I need to be able to collect application logs after the fact (not through developer console). On windows this can be achieved by launching chrome with the switch --enable-logging --v=1 which produces a chrome_debug.log

How can I generate the chrome_debug.log on the Chromebook?

PhistucK

unread,
Dec 14, 2016, 4:07:51 PM12/14/16
to Jason, Chromium-Apps-Announce
https://www.chromium.org/developers/how-tos/run-chromium-with-flags shows how, but you have to activate the Developer Mode which, if I am not mistaken, erases the entire contents (data) of your Chromebook.

An alternative could be to store the logs somewhere else by temporarily overriding console.log. You can send them to a server, or store them in an IndexedDB object store, or in Google Drive.


PhistucK

On Wed, Dec 14, 2016 at 8:50 PM, Jason <jason.c...@pearson.com> wrote:
I am currently developing a chrome application for chromebook. I need to be able to collect application logs after the fact (not through developer console). On windows this can be achieved by launching chrome with the switch --enable-logging --v=1 which produces a chrome_debug.log

How can I generate the chrome_debug.log on the Chromebook?

--
You received this message because you are subscribed to the Google Groups "Chromium-Apps-Announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-apps+unsubscribe@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at https://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Reply all
Reply to author
Forward
0 new messages