带有 Rake 的 RubyMine 调试器? [英] RubyMine debugger with Rake?

查看:50
本文介绍了带有 Rake 的 RubyMine 调试器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 RubyMine 3.0,我设置了一个 Rake 配置来运行单元测试.然后我设置了一些断点,然后运行 ​​Rake 任务.没有断点,测试正常执行然后退出.

Using RubyMine 3.0, I set up a Rake configuration to run a Unit Test. Then I set some breakpoints, then ran the Rake task. No breakpoints were hit, the test just executed like normal and then exited.

RubyMine 调试器不能通过 Rake 工作吗?

Does the RubyMine debugger not work through Rake?

推荐答案

试试这个:

  1. 转到运行 -> 编辑配置
  2. 扩展 Rake 节点并为您的 rake 任务添加新的 rake 配置(如果尚未完成)
  3. 转到运行 -> 调试...
  4. 选择您配置的佣金任务.

这篇关于带有 Rake 的 RubyMine 调试器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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