You need to first enable script debugging in your browser (list quoted from MSDN):
- In Internet Explorer, click the Tools menu and choose Internet Options.
- Click the Advanced tab.
- Under the Browsing category, clear the Disable Script Debugging checkbox.
Then any JS file will appear in the Running Documents window. You can open the file from there, add the breakpoint, and step through the script.