Today, I tried to find a good way of establishing a TCP connection to the SDB debugging session on the device.
Unfortunately, I didn't get my HTC Desire HD's Internet pass-through working. Tried on Windows 7, Windows Vista and Linux without any success. There's something very weird going on - whenever I try to activate Settings / Wireless & networks / Internet Pass-through, it says "Turning on ..." for about 1-2 minutes, then a message pops up that it can't find HTC Sync on the computer. However, internet actually does work during this time.
I'm very disappointed that this won't work, connecting the phone to the computer's network over USB would be very useful.
To make things worse, adb doesn't work while this option is activated.
Using USB tethering also isn't an option for me since this'd require the phone network be activated all the time.
Luckily, there's still the good old 'adb forward' and I just tested this with a small app.