I have a .NET app that runs an embedded web browser (System.Windows.Forms.WebBrowser). I can't figure out how to access the web console that I can normally access by pressing f12 (equivalent to firebug's console). Is there a way to enable this? Also is it possible to redirect this output to a file?