Enable debugging Silverlight code from Web Application


In order to enable debugging your Silverlight code while running from a Web Application follow the below steps

1. Go to the Properties of your Web Application (right click on Web project and select properties)

2. Go to Web settings 

3. Choose Silverlight Debugger as shown in the below screenshot.