From d3dfc449d5c545dc7f699d332ccda41412b0cba2 Mon Sep 17 00:00:00 2001 From: tca3 Date: Thu, 25 Aug 2022 09:53:54 +0200 Subject: [PATCH] Enable debugging for any address #101 --- src/main/scala/spray/revolver/DebugSettings.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/spray/revolver/DebugSettings.scala b/src/main/scala/spray/revolver/DebugSettings.scala index 77a372a..ad927c7 100644 --- a/src/main/scala/spray/revolver/DebugSettings.scala +++ b/src/main/scala/spray/revolver/DebugSettings.scala @@ -2,7 +2,7 @@ package spray.revolver case class DebugSettings(port: Int = 5005, suspend: Boolean = false) { def toCmdLineArg: String = - "-agentlib:jdwp=transport=dt_socket,server=y,suspend=%s,address=%d".format(b2str(suspend), port) + "-agentlib:jdwp=transport=dt_socket,server=y,suspend=%s,address=*:%d".format(b2str(suspend), port) private def b2str(b: Boolean) = if (b) "y" else "n" }