If you are working on Silverlight application and struggling to set debugger to attach to Silverlight instead of Script by default then this what you need to do.
1. Go to the Properties of the Silverlight Project.
2. Select the Web Tab.
3. Under Debugger group box select Silverlight.