In Ruby debug, just a step after application / project files and skip frame files?

I am using pry-debugger with debugger . When you go through the execution stack, I would like to skip the framework files and libraries and only the view code in my project (rails application).

Is there any way to do this?

A similar question is here.

+4
source share
1 answer

I am stuck with the same question.

Obviously, you can exclude files that you don’t want to enter by going to the Run|Edit configuration, then select the code coverage tab and click the add templates button.

You must enter a regular expression for the files you want to exclude.

+1
source

Source: https://habr.com/ru/post/1432986/


All Articles