Skip to content

Enable debugging for any address #101

@alexander-myltsev

Description

@alexander-myltsev

Hi,

I need to launch and debug sbt + akka + revolver/reStart in Docker environment. I see that Revolver.enableDebugging(port = 5020, suspend = true) creates DebugSettings in the end with address=%d. To make JVM available for a debugger it needs address=*:%d. I know that because I extended DebugSettings with overridden toCmdLineArg: String:

override def toCmdLineArg: String =
  "-agentlib:jdwp=transport=dt_socket,server=y,suspend=%s,address=*:%d".format(b2str(suspend), port)

Is there a, say, security or some other reason you haven't implemented it yet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions