आम तौर पर आप जानते हैं कि आपको समस्याएं कहां हैं, इसलिए आप कीवर्ड "डीबगर" रखकर अपने जावास्क्रिप्ट कोड में ब्रेकपॉइंट सेट कर सकते हैं। ब्रेकपॉइंट सेट करने के लिए अपने जावास्क्रिप्ट कोड (स्पष्ट रूप से उद्धरण के बिना) में एक पंक्ति पर।
When you get to it in Internet Explorer, it will ask you if you want to debug and prompt you to choose a debugger from a list, hopefully you will see Visual Studio in that list (both a new instance as well as your currently-running instance) - if you are using Firefox with Firebug, it will automatically stop execution on that line and you will be within the Firebug debugger, not Visual Studio.
You will want to do the following to setup Internet Explorer for doing this - from within Internet Explorer, follow this menu path: Tools > Internet Options > Advanced Tab > Uncheck the "Disable Script Debugging" options.