Remote debugging ASP.NET applications on a server with a static IP address

All examples on the Internet suggest that the remote server that we are about to debug remotely is on the same network. I only have a static IP address and with the help RDPI connect to the server.

I installed Remote Debuggeron a remote computer, but I can not set a static IP address as Qualifierin visual studio -> debug -> attach to process

+5
source share
1 answer

The username @machinename name construct displayed in msvsmon is the text that you need to go to the "Qualifier" field in Visual Studio β†’ Attach to process.

For example, where msvsmon says:

msvsmon started a new server named 'tf@macmini'. Waiting for new connections.

you must enter tf @macmini in the qualifier field.

For a computer on the Internet, I think you are using the username @ [ip address here], for example.

tf@123.234.32.1

Although you need to make sure that, at a minimum, firewalls and authentication are configured. (Debugging will not happen through RDP.) There is an article on the firewall side here . I can’t remember what authentication is, although I suspect that at least you need an account on both machines with the same username and password.

+3
source

All Articles