TechBubbles Microsoft Technology BLOG

Remote debugging AZURE app service web app

This post outline the steps to debug the AZURE app service using Visual Studio 2017 or Visual Studio 2015.

Before you start remote debugging the application make sure you deployed your web app to azure using debug settings not release.

Step 1

Enable remote debug and visual studio version for your app service web app in AZURE portal



You can attach the debugger in two way one is from cloud explorer as follows. right click on desire web app and say attach debugger


other way is go to debug menu and say attach process


when it prompts enter the publishing profile credentials for the same


publishing profile credentials can be downloaded from portal as below


if still cant attach the process then check your corporate network firewall not blocking outbound port 4022 for visual studio 2017 and 4020 for visual studio 2015.

Step 3

If your local policies or firewall rules can’t be changed then create virtual machine with VS 2015 or 2017 in azure and try to connect from virtual machine to your web app. This option should definitely works.

More on this topic can be read

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

Add Comment

TechBubbles Microsoft Technology BLOG

Follow me


Tag Cloud