【发布时间】:2019-10-24 04:04:07
【问题描述】:
我正在尝试通过 SSH 调试在 azure ubuntu vm 中运行的 asp.net 核心应用程序,当我尝试附加到进程时,我在 Visual Studio 2017 中收到此错误消息:
Failed to attach to process: The .NET Debugger (vsdbg) has insufficient privileges to debug this process. To debug this process, vsdbg must be running with root permissions.
我已授予“vsdbg”读写权限,但错误仍然存在,如何授予此进程 root 权限,以便调试应用程序。
【问题讨论】:
-
设置root权限有几个步骤(这里是Pi示例hanselman.com/blog/…)。
标签: visual-studio asp.net-core remote-debugging