]
Fred Bricon commented on JBIDE-21701:
-------------------------------------
Actually the debug port that we open in the deployment config will not necessarily be
listed in the list of ports, so it's gonna be trickier than expected
Enable port forwarding on a given pod and a given debug port
------------------------------------------------------------
Key: JBIDE-21701
URL:
https://issues.jboss.org/browse/JBIDE-21701
Project: Tools (JBoss Tools)
Issue Type: Sub-task
Components: openshift
Affects Versions: 4.3.1.Beta2
Reporter: Fred Bricon
Fix For: 4.3.1.CR1
Given a remote debug port, we need to ensure to programmatically enable port forwarding
on a pod, return the matching local debug port (named debug).
The local port could be determined as the next available free port, or read from the
server adapter's preferences. But that latter case would also require adding some UI
to let a user set the local port. That could be done in a later iteration.
If port forwarding is already enabled on the remote pod, then the current local debug
port should be returned