Not able to put break point with iis in visual studio 2022 with attach process

Sunil Shinde 1 Reputation point
2024-01-10T06:55:01.7766667+00:00

I have deployed asp.net application locally on iis and i tried to put debug i am getting message as shown below as well my break point is not applying and see yellow mark, what i need to do in order to get debug point with attach process? User's image

User's image

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,594 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JasonPan - MSFT 6,306 Reputation points Microsoft Vendor
    2024-01-10T08:53:09.3166667+00:00

    Hi @Sunil Shinde,

    You should change the Release to Debug. Then you can debug your application.

    Here is the official document, step3 is very important.

    Publish and Deploy the app by publishing to a local folder from Visual StudioUser's image


    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.

    Best regards,

    Jason

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.