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?
google-chromejavascriptlogging
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?
Best Answer
You can use
--enable-logging
flag to save console logs in a filechrome_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.