update debugger for semaphore

or remove debugger and use pry-debugger instead it?