I tried pry and remote-pry but no luck. I am familiar with logging, but I want to be able to execute my code and look at the variables.
Does anyone know anything that I can use to debug Sidekiq?
The best thing that I came up with is this stone, gem 'pry-remote'it works great and stops the start of all processes. And it works like pryjust inserting binding.remote_pry, and you have a breakpoint.
gem 'pry-remote'
pry
binding.remote_pry
Workers are designed to run trivially. Put pry in your working code and run it in the rails console.
> MyWorker.new.perform(some_args)
Source: https://habr.com/ru/post/1614310/More articles:jqGrid validates data before saving, when pessing enter confirmation key before esc - jqgridGet data from