Debugging Multiple Web Docker Containers in Visual Studio 2017+

Viewed 1136

I've got a solution that contains two dockerized web projects. I've got my docker-compose file setup to deploy both of those projects.

Both of those projects are set (in their respective projects), to launch a browser when they are debugged.

When I hit F5 to debug, it consistently starts a web browser pointing at one of those two projects, but not the other. Nor is the one that it's picking the one we'd generally prefer to have launched. Is there a way to control how many and which projects launch browser windows when debugging a docker solution containing multiple containers?

1 Answers
Related