I installed Remote Tools for Visual Studio 2022 and run:

Started Remote Debugger as administrator on the remote machine:

Visual Studio 2022 asked for credentials:

and displayed the list of the processes:

I built the project with static runtime:

Visual Studio displayed my DLL as a module and I was able to set a breakpoint:

but it did not trigger when I entered a wrong password and tried to login.
I attached to a different instance of LogonUI.exe and the breakpoint started to trigger:



telnet 192.168.141.111 4026
Download link https://my.visualstudio.com/Downloads?q=remote%20tools%20visual%20studio%202022