[jbosstools-issues] [JBoss JIRA] (JBIDE-21625) Server adapter: Enable debug mode on OpenShift servers

Fred Bricon (JIRA) issues at jboss.org
Tue Feb 16 12:09:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-21625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13163821#comment-13163821 ] 

Fred Bricon commented on JBIDE-21625:
-------------------------------------

So basically, what we need to do is, make it so that when a user clicks on the debug button on the server adapter, the following happens :

- modify the deployment configuration to add DEBUG, DEBUG_PORT env vars, add the debug port if necessary
- wait for a new deployment to set up a new pod, if the current pod is not setup to debug mode
- enable port forwarding between the (new) pod debug port and a local debug port (unless port forwarding as already been setup)
- attach a remote debugger to the local debug port (what if it's not a java process?) 

> Server adapter: Enable debug mode on OpenShift servers
> ------------------------------------------------------
>
>                 Key: JBIDE-21625
>                 URL: https://issues.jboss.org/browse/JBIDE-21625
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>            Reporter: Fred Bricon
>            Assignee: Andre Dietisheim
>            Priority: Critical
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.3.1.CR1
>
>
> Need to easily enable debug mode on EAP/Node images. That should allow hot reloading of server.js or java classes



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list