简体   繁体   中英

how to enable script debugging in visual studio 2008 when using Firefox

I'm using Firefox as my default browser and I'm trying to debug java script in side asp.net page visual studio 2008 with Firefox browser.

how to enable script debugging in visual studio 2008 when using Firefox?

by the way, I installed JavaScript Debugger plug-in for Firefox.

Unfortunately there's no way to attach to a non-IE browser in Visual Studio unless someone knows of a trick I don't. You'll want to either use the infinitely useful Firebug Extension for Firefox or the more feature rich Venkman debugger .

I have had issues with scripts being cached in FF while you're developing, so I would suggest making frequent use of the [CTRL][SHIFT] + Delete shortcut to clear your cache. Another trick I use is to insert

debugger;

into your script where you want to make sure you break into the debugger. I'm sure this works in Firebug and may also in Venkman.

Happy debugging.

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