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

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

    [ https://issues.apache.org/jira/browse/KARAF-7624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17649643#comment-17649643 ] 

ASF GitHub Bot commented on KARAF-7624:
---------------------------------------

jbonofre merged PR #1701:
URL: https://github.com/apache/karaf/pull/1701




> 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
>
> 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)