5

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 3

4

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.

0

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.

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .