Serhat Koroglu
Serhat Koroglu

Reputation: 1259

Visual studio .net core 2 opens new browser window while debugging

How can I prevent visual studio 2017 to open a new window when I tried to debug asp.net core application?

Previously it's used to open just a tab in web browser.

Upvotes: 0

Views: 84

Answers (2)

Mike Musgrave
Mike Musgrave

Reputation: 51

It's a VS setting in your project properties. Open them and go to the Web tab and select "don't open page, wait for a request from an external app".

Upvotes: 0

Mexicoder
Mexicoder

Reputation: 602

Tools > Options > Dedugging > General > uncheck the option Enable JavaScript debugging for ASP.NET (Chrome and IE).

https://www.johanbostrom.se/blog/how-to-disable-the-built-in-chrome-from-starting-when-debugging-in-visual-studio-2017

Upvotes: 1

Related Questions