40
42

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Scala: sbtでステップ実行できるようにする

Last updated at Posted at 2014-03-05

sbtでステップ実行するには、主に以下の準備をしておく

  • sbt でjvm-debugのポートを指定して起動する
  • IntelliJで実行設定をしておく
./sbt -jvm-debug 5005

※ 普通のsbtでは-jvm-debugオプションが無いので、 https://github.com/sbt/sbt-launcher-package を代わりに使う

IntelliJ側の設定

"Run" -> "Edit Configuration" で下記の設定をしておく

Run_Debug_Configurations.png

あとはブレークポイントをしこんで、虫のアイコンをクリックして、sbtのデバッグサーバにつないでsbtでrunするといい

40
42
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
40
42

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?