[Dev Tip] Remote debug

Sometime, you need to debug a program on a server or something like that and it doesn’t have an installed Visual Studio. Then how to debug that program?

1) On target machine

1.1) Install Remote Tools for Microsoft Visual Studio XXX with XXX is version of your VS.

1.2) run Remote Debugger


Note: It opens port 4018.

2) On you machine

2.1) Attach debug process

client1Note: is target’s IP.

Choose your process which you want to debug. At here i debug IIS.


Attach that process and debug. 🙂

Note: Modules windows, Load symbol


set up debug 1