如何在IntelliJ IDEA中以调试模式运行Play Framework 2.x? [英] How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

查看:398
本文介绍了如何在IntelliJ IDEA中以调试模式运行Play Framework 2.x?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在IntelliJ IDEA中以调试模式运行Play Framework 2.x.我在互联网上搜索,所有结果都说你必须使用播放控制台。

I want to run Play Framework 2.x in debug mode in IntelliJ IDEA. I searched in the Internet and all results say that you have to use play console.

是否可以在IntelliJ IDEA中以调试模式运行而不使用播放控制台?

Is it possible to run in debug mode in IntelliJ IDEA without using play console?

推荐答案

你需要使用Idea 12+ Ultimate Edition

You need to use Idea 12+ Ultimate Edition


  • 在Idea中安装 Play 2.0支持 Scala 和其他必需的插件

  • 在命令中line执行播放想法生成项目

  • 在Idea中打开创建的项目(打开,不要导入)

  • 转到:菜单> 运行> 编辑配置... > 添加新配置... >选择播放2应用

  • 菜单中> 运行新按钮将出现 Debug Run ,首先将启用带有debbuger的应用程序。

  • Install Play 2.0 Support, Scala and other required plugins in Idea
  • In command line perform play idea to generate project
  • Open created project in Idea (open, don't import)
  • Go to: Menu > Run > Edit Configurations... > Add New Configuration... > choose Play 2 App
  • In Menu > Run new buttons will appear Debug and Run, first will run app with enabled debbuger.

这篇关于如何在IntelliJ IDEA中以调试模式运行Play Framework 2.x?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆