I’ve tried the gems ‘debugger’ and ‘byebug’ to debug the code in a
sidekiq worker, but none of them workes and never stops at the
breakpoint I set inside the worker or model code.
If I set the breakpoint at controller, then both of them works.
Is this caused by sidekiq worker working in thread mode? How to use the
interactive method to debug the code?