List Aggregator App (SPFx)

How to debug SharePoint or Provider hosted Add-in in different browser in visual studio 2015?

visual studio 2015 Debug in different browser

In this post we will discuss how we can debug a SharePoint add-in or provider hosted add-in in a different browser in visual studio 2015. Whenever you develop any solution and try to debug the solution, it will open in the default browser (mostly set IE). But you might need to debug in a different browser.

Recently we were developing a provider hosted add-in and we wanted to debug it into a different browser. By default, it was opening in Internet Explorer.

SharePoint deveopment training course

Solution:
In a provider hosted add-in, there will be two projects one is your add-in project and another one is the Asp.Net project (maybe an asp.net MVC project or asp.net web form project depending on your selection while creating the provider hosted add-in).

Here select the add-project and go to properties (F4), you can see “Start Action” property. In this property, you can see the browser available. Select the browser and then when you click on F5 or Debug start button, it will take the selected browser. See fig below:

visual studio 2015 Debug in different browser
visual studio 2015 Debug in different browser

Read some SharePoint online tutorials:

Hope this will be helpful.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)

envelope
envelope

About Bhawana Rathore

Hello Everyone!! I am Bhawana a SharePoint MVP and having about 8+ years of SharePoint experience as well as in .Net technologies . I have worked in all the versions of SharePoint from wss to Office 365. I have good exposure in Customization and Migration using Nintex, Metalogix tools . Now exploring more in SharePoint 2016 :) Hope here I can contribute and share my knowledge to the fullest. As I believe "There is no wealth like knowledge, and no poverty like ignorance"

View all posts by Bhawana Rathore →