[ 
https://issues.apache.org/jira/browse/KARAF-7624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Róbert Csákány updated KARAF-7624:
----------------------------------
    Description: 
We are using karaf for development in windows / macOS / Linux environment. In 
windows we are using docker to run it, where the docker interfaces differs from 
local interfaces. The current debug settings only listens in local interface 
while the docker instance can be accessed via ethernet interface. (This is the 
behaviour from Java 9 - 
https://www.baeldung.com/java-application-remote-debugging). Is it possible to 
change the default debug settings in karaf and karaf.bat starter:

From:
{code:java}
 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005{code}
to
{code:java}
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 {code}
 

 

 

  was:
We are using karaf for development in windows / macOS / Linux environment. In 
windows we are using docker to run it, where the docker interfaces differs from 
local interfaces. The current debug settings only listens in local interface 
while the docker instance can be accessed via ethernet interface. Is it 
possible to change the default debug settings in karaf and karaf.bat starter:

From:
{code:java}
 -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005{code}
to
{code:java}
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 {code}
 


> Enable debug port on all interface
> ----------------------------------
>
>                 Key: KARAF-7624
>                 URL: https://issues.apache.org/jira/browse/KARAF-7624
>             Project: Karaf
>          Issue Type: Wish
>          Components: karaf
>    Affects Versions: 4.2.14, 4.3.8, 4.4.2
>            Reporter: Róbert Csákány
>            Priority: Minor
>
> We are using karaf for development in windows / macOS / Linux environment. In 
> windows we are using docker to run it, where the docker interfaces differs 
> from local interfaces. The current debug settings only listens in local 
> interface while the docker instance can be accessed via ethernet interface. 
> (This is the behaviour from Java 9 - 
> https://www.baeldung.com/java-application-remote-debugging). Is it possible 
> to change the default debug settings in karaf and karaf.bat starter:
> From:
> {code:java}
>  -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005{code}
> to
> {code:java}
> -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 {code}
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to