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
Hey Alex,
You'll either want to run the rails server in its own terminal (without bin/dev) or switch to using overmind instead of foreman. I personally use overmind and it lets you connect to each process and interact with them, but foreman cannot.

