在 Visual Studio 中使用 VMWare 进行虚拟调试?

Virtual Debugging with VMWare in Visual Studio?

关于这个主题,我找不到任何不是来自 8 多年前 and/or 来自更旧版本的 VMWare 的帮助。我安装了 VMWare Workstation 16 Pro,并且我已经在 Windows 10 Pro 上安装了 Visual Studio Community 2019。我读到我应该在 Visual Studio 中找到用于虚拟调试的新工具,但我没有在其中找到任何新工具。我在安装 VMWare 时也没有看到任何关于 Visual Studio 插件的信息。谁能帮忙? 谢谢!

根据 this,此功能从工作站版本 12 开始被删除(不知道为什么!!)。 或者,您可以安装 Microsoft Remote debugging tools on the desired VMWare Machine and configure it (refer to this link),之后,转到 Visual studio --> 项目设置 --> 调试 --> 选中“使用远程机器”框并输入机器名称或 IP地址。 PS: 您需要为VMWare Machine 上的用户帐户设置密码。