When I try and attach process from Visual Studio to my App Service I get thefollowing error:
CodePudding user response:
- In VS 2022, We have an easy and direct way to attach debugger.
- After publishing your WebApp, In Hosting settings we will find an option to Attach Debugger.
Once debugger is attached, Remote debugging is enabled in Portal => Configuration Settings automatically.
- Place a break point in any of the form which you want to debug.
- Visual Studio finds the process, all the symbols will be loaded, and debugger is attached.