return tcpClient.Connected;

Hit . You may be prompted for the remote machine's credentials.

// Prompt user: "Remote machine unreachable. Check if msvsmon.exe is running." MessageBox.Show("Remote machine unreachable."); return;

A new tool window accessible via View > Other Windows > Remote Debugger Profiles .