Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to not step into gems when debugging with Rubymine

When debugging a rails application with Rubymine, I would like to step only through code in the application, skipping code in gems.

How can this be achieved?

like image 804
steffen Avatar asked May 09 '26 08:05

steffen


1 Answers

Switch on the Ignore non-project sources option in the main settings:

enter image description here

Rubymine help has the following explanation of the feature:

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.

like image 151
Matouš Borák Avatar answered May 12 '26 06:05

Matouš Borák



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!