How to Enable Remote Debugging on Windows XP Service Pack 2
To enable remote debugging on Microsoft® Windows® XP SP2 platforms, the Internet Connection Firewall (ICF) must be configured as follows:
- If ICF is in Shielded mode, you will need to perform appropriate actions so that it is no longer in Shielded mode.
- If ICF is on, a few ports need to be opened and permissions must be granted to Microsoft® Visual Studio® and other executables that are involved in the remote debugging.
- If IFC is off, no firewall configuration is necessary.
- In addition, if the user running Visual Studio is not an Administrator on the remote machine, DCOM settings need to be configured.
Refer How to Enable Remote Debugging on Windows XP Service Pack 2