[jbosstools-issues] [JBoss JIRA] (JBIDE-23961) Server adapter: "Restart in Debug" is broken for Nodejs
Andre Dietisheim (JIRA)
issues at jboss.org
Thu Feb 16 18:02:00 EST 2017
[ https://issues.jboss.org/browse/JBIDE-23961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13365089#comment-13365089 ]
Andre Dietisheim edited comment on JBIDE-23961 at 2/16/17 6:01 PM:
-------------------------------------------------------------------
The problem occurrs in OpenShiftLaunchController#mapPortForwarding where it does the following:
{code}
Optional<PortPair> debugPort = ports.stream().filter(p -> remotePort == p.getRemotePort()).findFirst();
if (!debugPort.isPresent() || monitor.isCanceled()) {
return -1;
}
{code}
the only port pair that is being found hasnt got a matching remotePort:
"remotePort" is :8787 but p.getRemotePort() returns :8080, so the method return -1.
was (Author: adietish):
The problem occurrs in OpenShiftLaunchController#mapPortForwarding where it does the following:
{code}
Optional<PortPair> debugPort = ports.stream().filter(p -> remotePort == p.getRemotePort()).findFirst();
if (!debugPort.isPresent() || monitor.isCanceled()) {
return -1;
}
{code}
"remotePort" is :8787 but p.getRemotePort() returns :8080, so the method return -1.
> Server adapter: "Restart in Debug" is broken for Nodejs
> -------------------------------------------------------
>
> Key: JBIDE-23961
> URL: https://issues.jboss.org/browse/JBIDE-23961
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.3.Final
> Reporter: Andre Dietisheim
> Priority: Critical
> Attachments: image-2017-02-16-23-30-21-709.png
>
>
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list