简体   繁体   中英

Removing the Visual Studio / Visual Web Developer 2010 Express debugger and debugging JavaScript in the browser's debugger

When I set a break-point in my JavaScript code in the browser's debugger provided by its developer tools plug-in, I get a message saying that one or more processes are already attached to this, so it can't set a break-point or debug the code in the browser.

I know that if I run a deployed app, since it is not running in the Visual Studio environment, I can attach it to the browser's debugger.

But how do I debug an app already running in Debug mode inside Visual Studio / Visual Web Developer 2010 Express inside the browser?

You want to use IE developer tools script debugging. Try this:

Goto:

Tools->Internet Options->Advanced->Under "Browsing"-> check both options that starts with "Disable script debugging"

Open IE developer tools

(Press F12 or Tools-> "F12 Developer tools")

Enable script debugging

Open "script" tab and click button "start debugging"

If this works you will be able to debug your JS with IE developer tools.

Note: Why don't you use Chrome. It offers much better developer tools experience than IE.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM