Skip to content

Instantly share code, notes, and snippets.

@takashima0411 takashima0411/build.sbt

Last active Mar 10, 2018
What would you like to do?
test with debugger task in SBT
scalaVersion := "2.11.8"
lazy val FunTest = config("fun") extend Test
lazy val root = (project in file(".")).
// important see
settings(inConfig(FunTest)(Defaults.testTasks): _*).
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test",
fork in FunTest := true,
javaOptions in FunTest ++= Seq("-Xdebug", "-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.