idea 远程debug
2014-10-24 18:54
204 查看
play framework 在 IDEA 11中debug
IDEA 11 集成了对Play 的支持,运行play idealize生成idea的项目文件并导入之后,即可以直接在IDEA中使用Play的console. 这样就免去了之前版本的IDEA中运行Play的一些麻烦。但是文档中没有提到如何调试。其实很简单,我们在dev模式下运行Play的时候会看到这一行提示信息:Listening for transport dt_socket at address: 8000
所以我们只需要配置一个remote debug就可以了。具体方法如下
菜单Run -> Edit Configuration 打开之后点击 “+” 号,选择Remote 然后Settings中
- Transport : Socket,
- Debugger Mode : Attach
- Host : localhost
- Port : 8000
- source: 选择你的工程Module
别忘了填个名字,比如play debug,保存。
运行的时候,先打开console 执行play run, 之后在debug下拉框选择play debug,点击debug。 最后在action中设置一个断点试试吧。
转自:/article/5567966.html
相关文章推荐
- [置顶] Idea远程Debug配置
- intellij idea远程debug调试resin4教程
- [置顶] Idea远程Debug配置
- 【Otter】otter代码在IDEA远程DEBUG方法
- Tomcat使用IDEA远程Debug调试[转]
- Idea配置远程和启动远程服务器debug
- 使用idea远程debug java应用
- [置顶] Idea远程Debug配置
- idea 之远程debug调试
- 使用IDEA远程服务器调试DEBUG
- [置顶] Idea远程Debug配置
- Intellij_idea远程开启debug
- [置顶] Idea远程Debug配置
- [置顶] Idea远程Debug配置
- idea工具远程进行debug方式
- [置顶] Idea远程Debug配置
- [置顶] Idea远程Debug配置
- idea 远程debug和 远程 deploy
- Intellij idea远程debug连接tomcat,实现单步调试