Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

migrated from webapps.stackexchange.com Jun 11 '12 at 6:28

This question came from our site for power users of web applications.

2 Answers 2

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

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.