VS2015:远程调试Azure站点 [英] VS2015: Remote Debug Azure Site

查看:97
本文介绍了VS2015:远程调试Azure站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法使Visual Studio 2015远程附加到我的Azure站点.或者说,它可以正常运行,但是不会遇到断点.

I cannot get Visual Studio 2015 to attach remotely to my Azure site. Or, rather, it attaches okay, but no breakpoints are ever hit.

我已经确认我正在发布调试版本.我调整了web.config要求.

I've confirmed I'm publishing a debug build. I tweaked web.config to require that.

我已经确认在Azure门户中激活了对2015年的远程调试支持.

I've confirmed remote debugging support for 2015 is activated within the Azure portal.

该网站在附件之后可以正常运行...只是没有断点.

The site launches fine after the attachment...just no breakpoints.

这是使用rc1的MVC6网站.

This is an MVC6 site using rc1.

推荐答案

  1. 尝试在此处下载云资源管理器

  1. Try downloading cloud explorer here

按如下所示连接调试器

  1. 在具有Visual Studio版本的Azure门户中启用调试设置,如下所示

  1. Enable debugging setting in azure portal with visual studio version as below

将远程调试器附加到w3wp,如下所示

Attach remote debugger to w3wp as below

5确保Debug必须为true

5 Make sure Debug must be = true

确保以调试模式将应用程序部署到Azure中

这篇关于VS2015:远程调试Azure站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆