I want to debug an deployed MVC application in Visual studio.
Web server is Windows Server 2019 and MVC application published in IIS web server in this machine.
We will access MVC application through custom domain url.
I want to debug deployed MVC application in another local development computer (Windows 10 OS) where visual studio 2019 installed.
I have followed the below articles for enabling remote debugging.
https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugger-port-assignments?view=vs-2019
Enabled the Discovery Port UDP 3702 in Windows server 2019 where the MVC app deployed in IIS.
Installed the remote debugging tools for VS 2017 in remote windows server 2019 following the below article.
https://docs.microsoft.com/en-us/visualstudio/debugger/remote-debugging?view=vs-2019
I tried to connect to remote computer from VS 2019 of local development computer following below article
But I'm unable to find remote webserver (Where MVC app deployed) in Connection target of VS Attach Process
Requirement:
In different development machine where VS 2019 installed, I want to debug MVC application which is deployed through IIS in another windows server 2019.
Note: In remote windows server 2019, multiple MVC apps has been deployed to IIS. In development machine, I want to just browse MVC app through custom domain url and debugging should start in Visual studio 2019.
Even I'm not getting, how to connect to single deployed MVC app remotely and attach debugger to it from development VS 2019 from development machine, since multiple MVC apps deployed in remote web server and I want to remote debug only particular MVC application.
Kindly let me know, how can I acheive this.