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" }