SBTとIntelliJでブレークポイントを張る
プロジェクトの設定の違いによる所が大きいいが上の記事をみて自分で実行してみたら失敗したので、上手く行った方法をメモする。
OS: Windows7
sbt: 0.13.8
scala: 2.11
コンソール側対応
set SBT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
sbt
IntelliJ側の対応
set SBT_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
sbt
以上を設定後
実行したいsbtのコマンドを打つ(testなど)でうまくいった。
参考
http://stackoverflow.com/questions/23332378/how-can-i-enable-remote-debugging-for-sbt-in-windows
Author And Source
この問題について(SBTとIntelliJでブレークポイントを張る), 我々は、より多くの情報をここで見つけました https://qiita.com/qr_gho_staff/items/66dc11eca408d1764f0b著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .