Cannot remote debug Azure AppService "unable to find a process called w3wp"
- Make sure Remote Debugging is enabled in Azure Portal.
Go to Azure Portal =>Your App Service =>Configuration => Select General settings.
- Change the Configuration option to Debug
- I got the same issue when I Attach debugger from Hosting menu.
- Instead of "Attach Debugger", use Attach process from the VS debug menu.
- Place breakpoint in any of your form. As I am using the basic application ,I have placed in Index.cshtml.cs.
- Copy the Credentials from the Azure Portal.
- VS 2019=> Go to Debug tab => Attach process => In Connection Target paste your site url without htttp like(myappservice.azurewebsites.net)
=>Refresh button => add your app service credentials username and password=> A list of process will be shown to you just click on the w3wp.exe process => Select Show Processes from all users.