Can you set a JavaScript breakpoint in a UserControl?

asp.net, javascript, visual-studio-2008

Solution

If you uncheck Disable Script Debugging in Internet Explorer it should hit debugger lines and prompt you with either the Built-In Debugger or you can use VS IDE. I don't think you need a semicolon afterwards

var i = 0;
debugger
// do work

Problem

Visual Studio 2008, ASP.NET. Can you set a JavaScript breakpoint in a UserControl ascx page? I can set it in an aspx page.

Original source