如何调试从Visual Studio 2017在Minikube上运行的.Net Core应用程序

编程入门 行业动态 更新时间:2024-10-20 11:40:47
本文介绍了如何调试从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?

推荐答案

您可以使用 vsdbg 可以在Linux上调试任何远程dotnet核心进程. Kubernetes Minikube在下面使用Docker,而Docker容器实际上类似于Linux VM. 我写了一个在此网站上发布有关此内容的信息

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 if you need more details.

更多推荐

如何调试从Visual Studio 2017在Minikube上运行的.Net Core应用程序

本文发布于:2023-11-15 02:53:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1590506.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Studio   Visual   Core   Net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!