Hello @Kevin, Liu,
Welcome to Microsoft Q&A forum.
It should work. What does the error say? Did you follow this document: Set up the remote debugger to set up the remote debugger?
Are you using any proxy? => "Debugging between two computers connected through a proxy isn’t supported."
If the remote debugger has been installed and is successfully running on your server, but you fail to attach to the process, then please check this document: Ports on the remote computer that enable remote debugging and verify if corresponding ports have been opened.
In case you get other errors, please share us the error message for further check.
Sincerely,
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.