Visual Studio : Debugging Silverlight Application with Chrome and Firefox

Here is a tip if you want to debug Silverlight applications from Visual Studio 2012 if it is running in Google Chrome or Firefox

Google Chrome :

  1. Run the application and select Debug –> Attach to Process from the menu
  2. From the Available Processes list, look for process named “chrome.exe” with type Silverlight
  3. Select that process and click the Attach button

Here is screenshot from my machine
Visual Studio attach to Silverlight in Chrome

Mozilla Firefox :

Firefox has a slightly different approach

  1. Run the application and select Debug –> Attach to Process from the menu
  2. From the Available Processes list, look for process named plugin-container.exe
  3. Select that process and click the Attach button

Here is the screenshot
Visual Studio attach to Silverlight in Firefox

Voila!!! now you are able to get the breakpoints in Visual Studio