-
Notifications
You must be signed in to change notification settings - Fork 15.8k
Description
| Bugzilla Link | 45669 |
| Version | unspecified |
| OS | All |
| CC | @JDevlieghere,@labath |
Extended Description
Hello!
I would like to debug my target (which is at home), from my remote work computer while being at home through a VPN.
From home I connect to my workstation through the VPN and create an ssh tunnel
(ssh config: RemoteForward localhost:10000 TARGET_LAN_IP:10000).
But when I try to attach to the running application on the target it dynamically allocates a port and tries to reach the server to that port. Unfortunately, this is not possible because of the ssh tunnel. I can however do : platform connect connect://localhost:10000, but I cannot go into debugging.
SSH tunnelling doesn't support, as far as I know, ranges of RemoteForward ports.
Is there a way to control the port that is dynamically allocated? I found a "similar" issue of 4 years ago: (I'm not inside a container, but the idea is the same)
http://lists.llvm.org/pipermail/lldb-dev/2016-June/010616.html
I'm wondering if the situation is still the same and the port cannot be set manually?