How can I write web browser Javascript console output and stack traces to stdout & stderr?

I am currently using Chromium for my Javascript web development, but I would be happy to get output to standard output from any web browser.

My development environment, which is Emacs, is optimised for development environments which write "print" statements to stdout and stack traces to stderr. Both stdout & stderr are easily captured into the Emacs buffer running the process which is running the application under development.

I can run a browser process from Emacs, and I see standard output & error messages in my Emacs buffer, but I don't see any console output or stacktraces from my Javascript code.

Short of hacking the source code for the browser itself, is there any easy way to make this happen? Maybe a browser extension?


Need Your Help

Weld CDI on Google App Engine: Injection in servlet not happening

google-app-engine java-ee cdi jboss-weld

This is my first time working with GAE and I'm trying to get CDI working. Long story short: The @Inject field in my servlet is not getting injected (it's always null).

Jquery auto submit on click outside the div


what is the simplest way to auto-submit form when the user click out side the div?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.