I am trying to create a custom entry in the Visual Studio 2010 "Browse with ..." dialog box for debugging in Chrome Incognito mode (basically, so I can debug without cache or cookies).
So, I will open a dialog box, click "Add", enter the data:
- Program Name :
"C:\Users\[my-username]\AppData\Local\Google\Chrome\Application\chrome.exe" --incognito
- Friendly Name :
Google Chrome Incognito
I click OK. The --incognito
flag offers a dialog box: "The file name ... contains parameters that cannot be verified. Do you want to change your entry?" I click "No" because I know that the command is correct (and because this is the only way to continue).
The new entry is displayed in the list, I click "Set as default", I click "Browse", and my site opens in Google Chrome Incognito in the same way as I wanted.
However, the next time I debug, the site opens in my previous default, and if I reopen the Browse With ... dialog, my Google Chrome Incognito entry disappears.
Extremely frustrating. Does anyone know of a solution?
I looked at the WoVS Default Browser Switcher extension, but it does not seem to allow browser settings to be created.
I also gave this approach to Scott Hanselman. But Visual Studio keeps resetting the browsers.xml
file.
source share