Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

Store console output to file in Google Chrome

Writer Emily Wong

I would like to store the console output from my javascript in a file.

Well, I would prefer to see the output in a file too see with /usr/bin/tail or other linux comand.

Does anybody know if its possible?, and How to do that?

3 Answers

You can use --enable-logging flag to save console logs in a file chrome_debug.log under~/.config/google-chrome/chrome_debug.log.

Link removed because it now redirects to a very suspicious site. This is one reason we don't link offsite.

I think you'll have to use File API to write files to the disk. You can't just redirect the console log to file.

check out Sawbuck, I haven't tried it yet the description is that is a GUI for logging chrome.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy