You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Róbert Csákány (Jira)" <ji...@apache.org> on 2022/12/19 08:40:00 UTC

[jira] [Updated] (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 ]

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. 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:

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