当使用 Rubymine 调试 Rails 应用程序时,我只想单步执行应用程序中的代码,跳过 gems 中的代码。
如何实现?
最佳答案
在主设置中打开忽略非项目源选项:
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/