Remote Debugging Easy is an application that aims to help Visual Studio developers in remote debugging of their software.
Problems:
- Your client must install Remote tools
- Your client must open a router port for MSVSMON
- You have to upload the files to the client with VS Deploy - slow.
All these problems are solved with RDE:
- Uses reverse connection so it's you that you need to open NAT ports.
- Uses differential compression so deployment saves lots of bandwidth.
- Uses ZIP compression for MSVSMON commands to save bandwidth.
- Your client only needs to enter an IP and a port.
- Includes HelpMeNow library for even easier debugging.
As a developer, you use the following TCP ports:
- One port (WAN-forwarded) so a user connects to that port for smart deployment.
- One port for Visual Studio to connect to it using it's remote debugger (you connect to YOUR port instead of the remote user's and connection is reversed)
- One port for the remote user's MSVSMON to be forwarded.
- If you use HelpMeNow, add two more ports.
Your user only needs your WAN ip and the first port. Redistribute RDE64.EXE if your user runs a 64-bit OS, or RDE32.EXE if not.
You can check the Example scenario from the menu for a possible example.
Remote Debugging Easy requires Windows Vista or later.
Let's say you have a project TESTRD.EXE . You want to debug it on a client in folder c:\low\.
- Start RDE and select "I am the developer"
- Select your local IP and wan IP to be sent to the client.
- Select the three ports, say 701, 702 , 703. If you have selected UPnP, RDE will try to open ports 701 and 703. You can also permanently configure that in your router and select manual mode. You can also enable HMN server, in which case you will open two more ports.
- Select which files to be deployed. You want to deploy the exe and the pdb.
- You can save the setup so you don't have to configure all this again. You can put a hostname also in WAN ip.
- Tell your user to run rdb32.exe, select "I am the user" and enter the IP (in this example 46.103.85.156) and the first port (7001 in this example)
- Your server is ready:
- Press "Smart Deploy" when you build a new testrd.exe. This sends the files to your client with differential compression, saving LOTS of bandwidth for small changes.
- Configure Visual Studio for remote debugging to server 192.168.10.5:702, or whatever second local port you chose.
- Don't "deploy" with Visual Studio, just run!
You are ready!