John Bachir
John Bachir

Reputation: 22711

In Ruby debug, only step through application/project files and skip framework files?

I'm using pry-debugger with debugger. When stepping through the execution stack, I would like to skip over framework and library files and only view code in my project (a rails app).

Is there a way to do this?

Similar question here.

Upvotes: 4

Views: 446

Answers (1)

Akshay Takkar
Akshay Takkar

Reputation: 500

I'm stuck with the same question.

Apparently you can exclude the files you don't want to enter by going into Run|Edit configurations, then select the code coverage tab and click on the add patterns button.

You have to put in a regular expression for the files you want to exclude.

Upvotes: 1

Related Questions