Debugger not stop at breakpoints

Hi,

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs