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

半世苍凉 提交于 2019-12-11 08:48:39

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/2878048/how-to-enable-script-debugging-in-visual-studio-2008-when-using-firefox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!