How to debug workers?

hi
how to debug the code of workers if I want to make changes to the code? eg: using binding.pry to set a break point.
Thank you!

@gmccullough can you review this question from @wangxiangyu and forward to a SME if necessary.

Hi @wangxiangyu,

Check out this gist. Hope it helps.

@gmccullough thank you!