Welcome to Qi-U Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
795 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

Please log in or register to answer this question.

1 Answer

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

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