<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 495,comments - 227,trackbacks - 0
    http://stackoverflow.com/questions/4150776/debugging-scala-code-with-simple-build-tool-sbt-and-intellij

    idea下調試scala Web的設置
    1、Make sure you have sbt.Revolver in your project/plugsin.sbt file e.g.

    addSbtPlugin("io.spray" % "sbt-revolver" % "0.7.2")

    2、Set javaoptions in you build.sbt(or build.scala) file:
    javaOptions := Seq("-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005")

    In particular use the suspend=y option. This will hold the app until you connect a remote debugger from Intellij

    3、Set up a debugger configuration in Intellij via Run / Edit Configurations menu. Press the + button, select the "Remote" option. Make sure the entries match the javaoptions above, in particular the port address of 5005. Give the config a name like 'Spray'.

    4、From your SBT console use the re-start command. You should see the 5005 port address in the feedback output.

    5、In Intellij set your breakpoints.

    6、From Intellij, select the Run \ Debug 'Spray'. This should connect to the spray-can web server. You should be able to see a lot of threads in the debug window.

    7、Beware that some of the Get directives in Spray seem to get executed on start up but not repeatedly on calling the website.
    posted on 2015-08-31 10:55 SIMONE 閱讀(314) 評論(0)  編輯  收藏

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 粉色视频成年免费人15次| 亚洲国产精品网站在线播放| 亚洲成人网在线播放| 亚洲av永久无码精品三区在线4| 涩涩色中文综合亚洲| 色窝窝亚洲AV网在线观看| 一级做α爱过程免费视频| 男人的天堂网免费网站| 日韩吃奶摸下AA片免费观看| 免费jjzz在线播放国产| 国产成人亚洲精品青草天美| 亚洲日韩中文字幕| 福利片免费一区二区三区| 国产精品网站在线观看免费传媒| 亚洲视频免费在线看| 日日夜夜精品免费视频| 亚洲成AV人片在线观看WWW| 亚洲AV日韩综合一区尤物| 五月天国产成人AV免费观看| 91精品国产免费网站| 国产美女无遮挡免费视频网站| 国产亚洲欧洲精品| 亚洲中文字幕精品久久| 黄视频在线观看免费| 91视频国产免费| 国产中文在线亚洲精品官网| 亚洲精品日韩专区silk| 免费精品视频在线| 91免费国产精品| 免费在线观看你懂的| 亚洲精品亚洲人成在线麻豆| 免费精品久久久久久中文字幕 | 免费精品一区二区三区第35 | 全黄性性激高免费视频| 亚洲国产一区二区三区青草影视| 亚洲色少妇熟女11p| 国产免费无码AV片在线观看不卡 | 午夜亚洲国产成人不卡在线| 伊人久久综在合线亚洲2019| 边摸边吃奶边做爽免费视频99 | 亚洲成人免费网址|