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

Andre Dietisheim (JIRA) issues at jboss.org
Fri Feb 5 14:01:03 EST 2016


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

Andre Dietisheim edited comment on JBIDE-21625 at 2/5/16 2:00 PM:
------------------------------------------------------------------

As specificed in CLOUD-243:
Enabling debugging in our eap-images works via an env var
{code}
com.redhat.dev-mode
com.redhat.dev-mode.port
{code}
In [oc|https://docs.openshift.com/enterprise/3.0/dev_guide/environment_variables.html#set-environment-variables] one can do 
{code}
$ oc env <object-selection> KEY_1=VAL_1 ... KEY_N=VAL_N [<set-env-options>] [<common-options>]
{code}
Those get picked on pod deployment. So we can change the deployment config resource and start for the triggered build to finish or change the number of replicas 1->0->1
{quote}
(06:19:17 PM) kconner: adietisheim: The env needs to be set when the pod starts, you may find that modifying the dc will redeploy it
{quote}


was (Author: adietish):
As specificed in CLOUD-243:
Enabling debugging in our eap-images works via an env var
{code}
com.redhat.dev-mode
com.redhat.dev-mode.port
{code}
Those get picked on pod deployment. So we can change the deployment config resource and start for the triggered build to finish or change the number of replicas 1->0->1
{quote}
(06:19:17 PM) kconner: adietisheim: The env needs to be set when the pod starts, you may find that modifying the dc will redeploy it
{quote}

> 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