a blog for those who code

Monday, 7 March 2016

How to debug in Visual Studio using Chrome Incognito Mode

In this post we will be discussing about debugging in Visual Studio using Chrome incognito mode. Visual Studio makes it really easy to debug in your browser of choice. Incognito mode means that Chrome will not save your browsing history.
The advantage of this feature is that it doesn't cache scripts or CSS files that means whatever files you will be seeing are latest. The steps to debug in Visual Studio using Chrome Incognito mode are :



Step 1 : In Visual Studio click on down arrow beside Google Chrome (or whatever chosen by default), and click on Browse With to add Chrome Incognito Mode.


Step 2: After clicking on Browse With you will see a window like below, click on Add button to add New Debug Program as shown below.


Step 3 : Select program chrome.exe from "C:\Program Files (x86)\Google\Chrome\chrome.exe" and add -incognito in the arguments field. You can give friendly name of your choice (i.e. Google Chrome - Incognito).


You can set Google Chrome Incognito debug program as default using the button "Set as Default".You can do the same thing for Firefox and Internet Explorer. For Internet Explorer you need to add -private instead of -incognito.

Please Like and Share the CodingDefined.com Blog, if you find it interesting and helpful.

No comments:

Post a Comment

Contact Us

Name

Email *

Message *

Sponsers

Best Hosting Plans

CC License