如何从 Visual Studio 2017 调试在 Minikube 上运行的 .Net Core 应用程序 [英] How to Debug .Net Core Application Running on Minikube from Visual Studio 2017

查看:31
本文介绍了如何从 Visual Studio 2017 调试在 Minikube 上运行的 .Net Core 应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我制作了一个 .Net Core Web 应用程序并将其部署在 Minikube VM 上运行的容器上.我想调试该应用程序,如何使用 Visual Studio 2017 进行调试?

I have made a .Net Core Web Application and deployed it on container running on Minikube VM. I want to debug that app, How can I do it using Visual Studio 2017?

推荐答案

Visual Studio 2019 更新:https:///link.medium.com/rGycPY6NGdb

Update for Visual Studio 2019: https://link.medium.com/rGycPY6NGdb

您可以使用 vsdbg 调试任何远程 dotnet 核心进程在 Linux 上.Kubernetes Minikube 在底层使用 Docker,而 Docker 容器实际上类似于 Linux VM.我写了一个 如果您需要更多详细信息,请在 Medium.com 上发布相关内容.

You can use vsdbg to debug any remote dotnet core process on Linux. Kubernetes Minikube uses Docker underneath and Docker container is in fact something like a Linux VM. I wrote a post about this on Medium.com if you need more details.

这篇关于如何从 Visual Studio 2017 调试在 Minikube 上运行的 .Net Core 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆