I have a .NET application that launches a built-in web browser (System.Windows.Forms.WebBrowser). I cannot figure out how to access the web console, which I can normally access by pressing f12 (equivalent to the firebug console). Is there any way to enable this? Also can this redirect this output to a file?
The built-in web browser does not support ActiveX controllers, so there is no web console.
Have you tried using FirebugLite?
https://getfirebug.com/firebuglite
Include this script inside your page and you will have a lightweight version of firebug that you can use to debug your JS.
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script>
you can use virtual studio to debug it