在没有管理员权限的情况下将调试器附加到本地 IIS [英] Attach debugger to local IIS without administrator permission
问题描述
为了能够附加到 w3wp.exe
Visual Studio 想要提升权限,所以我必须以管理员身份启动 VS 或将我的本地用户添加到 Administrators
团体.有没有其他方法,另一个组等,能够附加到 w3wp.exe
而无需具有提升的权限?
To be able to attach to w3wp.exe
Visual Studio wants to have elevated permissions so I either have to start VS as admin or add my local user to the Administrators
group. Is there any other way, another group etc, to be able to attach to w3wp.exe
without having elevated permissions?
推荐答案
在没有管理员权限的情况下将调试器附加到本地 IIS
Attach debugger to local IIS without administrator permission
恐怕您不能在没有管理员许可的情况下不这样做.
I am afraid you can NOT do that without administrator permission.
根据 ASP.NET 调试:系统要求:
如果您将 ASP.NET 工作进程更改为在您自己的用户下运行帐户,您不必是服务器上的管理员运行 IIS
使用 IIS 作为开发 Web 服务器的缺点开发服务器可能需要更多的设置和配置任务为了使用 Visual Studio 而不是使用 IIS Express,包括以下:
Disadvantages of Using IIS as a Development Web Server Using IIS as a development server can require more setup and configuration tasks in order to work with Visual Studio than using IIS Express, including the following:
- 您必须以管理员身份运行 Visual Studio 才能使用 IIS.
希望这会有所帮助.
这篇关于在没有管理员权限的情况下将调试器附加到本地 IIS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!