<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 閱讀(317) 評論(0)  編輯  收藏

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


    網站導航:
     
    主站蜘蛛池模板: 羞羞视频在线观看免费| 亚洲综合一区国产精品| 波多野结衣免费一区视频| 亚洲午夜福利精品无码| 免费很黄无遮挡的视频毛片| 亚洲av日韩av永久无码电影| 免费毛片在线看片免费丝瓜视频 | 少妇性饥渴无码A区免费| 久久久久亚洲AV成人网人人软件 | 亚洲一本综合久久| 十九岁在线观看免费完整版电影| 亚洲成A∨人片在线观看不卡| a毛片在线免费观看| 午夜影视日本亚洲欧洲精品一区| 真实国产乱子伦精品免费| 成人亚洲综合天堂| 亚洲av无码一区二区三区网站 | 黄桃AV无码免费一区二区三区| 国产亚洲精品成人a v小说| 99免费在线视频| 亚洲视频中文字幕在线| 最近中文字幕免费mv视频7| 美女羞羞视频免费网站| 亚洲欧洲日产国码无码久久99| 亚欧免费一级毛片| 亚洲www77777| 亚洲人成人无码网www国产| 永久免费av无码网站yy| 亚洲二区在线视频| 亚洲av无码成人精品区在线播放 | 亚洲欧洲日韩不卡| 成人A级毛片免费观看AV网站| 免费很黄无遮挡的视频毛片| 亚洲av无码精品网站| 无码日韩人妻av一区免费| 一个人看的www免费高清| 国产高清视频在线免费观看| 亚洲精品午夜无码专区| xxxx日本免费| 一级视频免费观看| 亚洲国产情侣一区二区三区|