Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Visual Studio "Browse with" option with arguments opens a tab for each character

So I have created a new entry in the "Browse with" with --incognito arguments

enter image description here

once I hit F5/start debugging, Visual studio opens Chrome but it is interpreting the arguments as a webpage or something like that. It opens a tab for every character of the argument line:

Multiple tabs

If I double click the new entry or hit "Browse" button in the "Browse With" dialog, it opens correctly as incognito.

I am using Visual Studio 2017 professional by the way.

like image 256
pca1987 Avatar asked Oct 16 '22 14:10

pca1987


1 Answers

This is a bug intoduced in recent versions of Visual Studio. It was raised on the Visual Studio Developer Community in May and Microsoft responded with a work around as follows:

"If you are impacted by this bug please enable the legacy Chrome debugger from under 'Tools > Options > Debugging > General > Enable legacy Chrome JavaScript debugger for ASP.NET' to be unblocked."

https://developercommunity.visualstudio.com/content/problem/248237/cannot-browsedebug-chrome-incognito-mode.html

like image 85
Martin White Avatar answered Oct 21 '22 00:10

Martin White