We put a lot of work into Visual Studio 2005 to make remote debugging easier. One advance was to embed support for detecting and adding exceptions to the Windows Firewall. So, if you run the remote debugger (msvsmon.exe) it will detect if the firewall will block remote debugging. If remote debugging would be blocked, you will get this dialog:
Two tips: