Alex

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Help to debug inside Jumpstart

Hi,

I am currently developing my client's Jumpstart application and I am seeking advice on how to effectively debug any issues that may arise during the development process.

I tried to use binding.irb and binding.pry inside actions, also in before_action. Restart does not help.

web | 8: before_action do
web | 9: binding.pry
web | => 10: puts "Hello, world!"
web | 11: end
web | 12:
web | 13: # GET /employees
web | 14: def index
web | 15: @pagy, @employees = pagy(Employee.sort_by_params(params[:sort], sort_direction))

Any ideas?

best,

Alex