Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-7624

Enable debug port on all interface

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.2.14, 4.3.8, 4.4.2
    • 4.4.3, 4.3.9
    • karaf
    • None

    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:

       -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005

      to

      -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 

       

       

       

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            robson@semmi.se Róbert Csákány
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: