Hi @ASR ,
Welcome to Microsoft Q&A forum.
You may use "Attach to Process" feature to debug the deployed ASP .NET Core application. See this document: Remote Debug ASP .NET Core on a Remote IIS Computer in Visual Studio for more details.
To debug an ASP .NET Core application that has been deployed to IIS … and then attach to your running app from Visual Studio.
Debug and Release are what they are, as you know. You cannot debug your web app with release mode, so if you want to debug it, you need to set the configuration to Debug. Since Release applies optimizations to the codes etc., it is recommended to publish your project by setting the configuration to Release, otherwise the performance will be impacted(Debug mode greatly reduces the performance of your app).
Feel free to contact us.
Best Regards,
Tianyu
- If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.