60

When debugging a web application in Visual Studio is it possible to get it to launch in an existing tab of an existing instance of Chrome rather than in a new window when clicking the Launch in Chrome button launch in Chrome?

Fishcake
  • 10,496
  • 7
  • 44
  • 72
  • I've discovered that disabling javascript debugging in Visual Studio's options enables the site to open in an existing Chrome instance. – Fishcake Mar 08 '17 at 14:33
  • http://stackoverflow.com/questions/42095299/visual-studio-do-not-open-new-browser-instance – Alexan Mar 08 '17 at 14:47

1 Answers1

157

On the Menu bar of Visual Studio, go to

Tools > Options

After that, a window will pop up.

From there, navigate to

Debugging > General > uncheck Enable Javascript Debugging for ASP.NET (Chrome and IE)

launch in Chrome

Since Visual Studio 15.7.0

You also need to uncheck option:

Tools > Options > Projects And Solutions > Web Projects > Stop debugger when browser window is closed

Pranay Aryal
  • 5,208
  • 4
  • 30
  • 41
Abubakar Ahmad
  • 2,567
  • 1
  • 18
  • 16