You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2022/12/20 09:25:00 UTC

[jira] [Resolved] (KARAF-7624) Enable debug port on all interface

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

Jean-Baptiste Onofré resolved KARAF-7624.
-----------------------------------------
    Fix Version/s: 4.4.3
                   4.3.9
       Resolution: Fixed

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 4.4.3, 4.3.9
>
>
> 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)