# Debugger not stop at breakpoints

**URL:** <https://www.ruby-forum.com/t/debugger-not-stop-at-breakpoints/240138>\
**Category:** Ruby\
**Created:** [March 30, 2014, 9:22am UTC](https://www.ruby-forum.com/t/debugger-not-stop-at-breakpoints/240138 "2014-03-30T09:22:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [March 30, 2014, 9:22am UTC](https://www.ruby-forum.com/t/debugger-not-stop-at-breakpoints/240138/1 "2014-03-30T09:22:28Z")

</div>

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?
