Guest gauravseth Posted June 11 Posted June 11 You can attach the Visual Studio debugger to any .Net process running on Azure App Service. This allows you to debug the deployed web app as though it's running locally. For more information about how to attach Visual Studio debugger for a web app deployed to Azure App Services please refer to: Remote Debug ASP.NET Core on Azure App Service (Windows) Troubleshoot with Visual Studio - Azure App Service | Microsoft Learn Over the past few years, we have received feedback from our customers regarding the opening of ports on local machines to use remote debugging with App Service. This often requires multilevel approvals and leads to configurational & operational complexity. Based on this feedback we are announcing changes related to supportability of Visual Studio versions for remote debugging of Windows web applications deployed to App Service. These changes will remove the requirements for local ports when using remote debugging with App Service. Versions of Visual Studio prior to Visual Studio 2022 will no longer work with the updated remote debugging feature on App Service. Visual Studio 2022 will work with the updated remote debugging feature, but customers will need to upgrade to a newer version of Visual Studio 2022 no later than January 31, 2025. The changes to remote debugging on App Service outlined in the table below will be applicable starting June 2024. The table below provides an overview of these changes. Visual Studio Version Basic Authentication enabled for the specific App Service web app ### Remote Debugging Supported Applicable Timeline Local Ports Required 2017 All N/A No Starting June 2024 N/A 2019 All N/A No Starting June 2024 N/A 2022 17.9 or earlier Yes Yes Until January 31, 2025 Yes. On local machine 2022 17.9 or earlier N/A No After January 31, 2025 N/A 2022*** 17.10 or later N/A Yes N/A No local machine ports required. Remote debugging no longer uses basic authentication on App Service. It’s important to note that the contents of this blog post are not applicable for remote debugging experience related to App Service Linux. *** Please note that starting Jan 2025 remote debugging for Windows web applications deployed to App Service will be available only when using Visual studio 2022 version 17.10 or later. Remote debugger authentication for a web application no longer uses basic authentication on App Service. ### There are no changes to basic authentication publishing on Azure App Service. The table above refers only to basic authentication on App Service used in conjunction with the remote debugging feature. Please refer to Authentication types by deployment methods - Azure App Service | Microsoft Learn and Disable basic authentication for deployment - Azure App Service | Microsoft Learn for details. In the coming weeks changes will also be made to the Azure portal experience matching the remote debugging support as explained above. Continue reading... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.