I don't think you can debug Silverlight code and Script code at the same time. If you use F5 to start debug, the break point set in the JavaScript won't be hit. If you try to use Attach Process to debug and try to select both Script and Silverlight code you will get a message saying Silverlight Debugging is not compatable with Script.
If you want to debug JavaScript code you can try to use Attach Process and select Script debugger in the Attach To box.
When I try to debug Script code I usually just put a "debugger;" (this only works for IE) line in the JavaScript code where I want to set my break point and run my page by typing the page url in the browser. Then open a VS as debugger when that line get hit. Just remember to remove that "debugger" line when you are done.
sladapter
Software Engineer
Aprimo, Inc
Please remember to mark the replies as answers if they answered your question