Setting up Remote Debugging on VS 2022 to debug code on a Windows Server 2019

Zoest, Ron 0 Reputation points
2023-10-27T03:37:55.1766667+00:00

I am looking through the VS 2022 remote debugger docuemenation and I note that only Wndows 11, 10, 8, and 7 are supported Operation Systems for running the msvsmon.exe for remote debugging. Does this mean that I will not be able to run msvsmon.exe on my test environment servers which are running Server 2019? A am confused because the documenation examples talk about connection to a remote server running IIS, but the supported OS list does not include any server OS's. But I alos thought that Server 2019 was equivalent to Win 10, or is this not the case. I would appreciate clarification on this point before I setup the required networking only to find that it doesn't work.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,133 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 30,811 Reputation points Microsoft Vendor
    2023-10-27T06:45:43.2033333+00:00

    Hello @Zoest, Ron,

    Welcome to Microsoft Q&A forum.

    You can install msvsmon.exe on Windows Server 2019.

    For example, this instruction: Remote Debug ASP.NET Core on a Remote IIS Computer in Visual Studio indicates => These procedures have been tested on these server configurations: Windows Server 2022 and IIS 10, Windows Server 2019 and IIS 10, Windows Server 2016 and IIS 10. And in the same document, one of the procedures is download and install the remote tools on Windows Server.

    Feel free to let us know if you have any further concerns.

    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.


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.