Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.6k views
in Technique[技术] by (71.8m points)

Debug docker-compose in visual studio

I add docker suport for my dotnet application, and i have to put this outside the startup folder, i follow exactly this question, Visual Studio Docker Support - Debugging with a Dockerfile outside of the startup project folder and works

Now i add container orchestrator support with docker-compose, and i modify to get dockerfile in outside folder. If i type docker-compose up in terminal works, but when i run by visual studio i cant debug enter image description here enter image description here

PS: when i using dockerfile in startup folder and edit docker-compose.yml work it

Exist a way to debug docker compose in visualstudio with dockerfile outside startup folder?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...