sworded
sworded

Reputation: 2499

Embedded WebBrowser web console access

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?

Upvotes: 8

Views: 8278

Answers (3)

Ming
Ming

Reputation: 1061

you can use virtual studio to debug it

  1. start app
  2. Open "attach to dialog" by debug->attach to process
  3. In attach to selection,select "Script"
  4. Then select the process you want to debug

Upvotes: 0

Amitd
Amitd

Reputation: 4849

Have you tried using FirebugLite ?

https://getfirebug.com/firebuglite

Include this script inside your page and you will have a lite version of firebug which you can use to debug your JS.

<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script>

Upvotes: 14

Stefan P.
Stefan P.

Reputation: 9519

The embedded web browser does not support ActiveX controllers, so there is no web console.

Upvotes: 3

Related Questions