[英]How can I debug ASP.NET Core 3.0 application with Visual Studio 2019 on Raspberry PI 3
Is it possible to debug ASP.NET Core 3.0 application with Visual Studio 2019 on Raspberry PI 3? 是否可以在Raspberry PI 3上使用Visual Studio 2019调试ASP.NET Core 3.0应用程序?
I manage to install ASP.NET Core 3.0 and create Hello World application on Raspberry PI with dotnet new webapp
. 我设法安装ASP.NET Core 3.0并使用
dotnet new webapp
在Raspberry PI上创建Hello World应用程序。
Then I build ASP.NET Core 3.0 on Visual studio 2019 and deploy it to local folder, copy entire content to raspberry pi and run it. 然后我在Visual Studio 2019上构建ASP.NET Core 3.0并将其部署到本地文件夹,将整个内容复制到raspberry pi并运行它。 It works.
有用。
But I don't know how can I debug app from Visual Studio 2019. There is no remote debugging property, I can not select any arm CPU type nothing. 但是我不知道如何从Visual Studio 2019调试应用程序。没有远程调试属性,无法选择任何ARM CPU类型。
I can't even find any blog, post how to do it. 我什至找不到任何博客,发布如何做。
You can debug over SSH in Visual Studio. 您可以在Visual Studio中通过SSH进行调试。
So what you want to do is effectively this: 因此,您要做的实际上是这样的:
I wrote an article about this exact topic with pictures and a powershell script here: https://medium.com/@lewwybogus/debugging-your-net-core-3-app-on-your-raspberry-pi-with-visual-studio-2019-9662348e79d9?source=friends_link&sk=33e0da85e07e45234a7804d5801110a1 我在这里写了一篇有关此确切主题的文章,其中包含图片和Powershell脚本: https : //medium.com/@lewwybogus/debugging-your-net-core-3-app-on-your-raspberry-pi-with-visual -studio-2019-9662348e79d9?source = friends_link&sk = 33e0da85e07e45234a7804d5801110a1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.