ruby-on-rails - 使用 Rubymine 调试时如何不进入 gems

标签 ruby-on-rails debugging rubymine

当使用 Rubymine 调试 Rails 应用程序时,我只想单步执行应用程序中的代码,跳过 gems 中的代码。

如何实现?

最佳答案

在主设置中打开忽略非项目源选项:

enter image description here

Rubymine help具有以下功能解释:

Select this check box to automatically skip the external libraries code and keep the focus on your own code. RubyMine will not stop at any non-project code no matter what stepping command is used. This option also prevents opening external files in the editor tabs while debugging.

This option works for Ruby 2.x only; it is not supported for Ruby 1.8 and 1.9.

关于ruby-on-rails - 使用 Rubymine 调试时如何不进入 gems,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43473571/

相关文章:

debugging - 如何在 GDB 中不断观察变量?

ios - Xcode - 关闭调试

mysql - 使用form通过join表更新has_many

ruby-on-rails - 如何在 RSpec Rails 请求规范中传递额外参数

ruby-on-rails - 为 Ruby on Rails 设计 gem 安装

ruby-on-rails - Rails/ActiveRecord : field normalization

python - gdb PrettyPrinter 插件例程 StdStringPrinter 在处理 std::basic_string<wchar_t(,.*)?>$ 时崩溃

rubygems - RubyMine - 找不到 "directory_watcher"gem

intellij-idea - 如何防止 IntelliJ IDEA/PhpStorm/Pycharm/Rubymine 中的转义键关闭弹出窗口?

ruby-on-rails - Rubymine 找不到 BUNDLE_PATH 指定的 Gems