How to debug a specific worker?


#1

Hi All:

I’m a beginner of Ruby and RoR,and i would greatly appreciate your help.
Here are some questions i got stuck:

  • First,How can I debug a specific worker,just like MiqEmsRefreshWorkerOpenstack?It’s a very independent component with RoR.I don’t know how to insert a breakpoint into that worker with RubyMine.Because when i click debug button in RubyMine,manageiq wouldn’t start other workers.
  • Second,what’s kind of tools do you use to DEBUG a ruby code efficiently?

#2

I think the question is still relevant. In general, it will be nice to know how to debug various components with Rubymine -whether a background worker or the UI.
@blomquisg @hkataria perhaps you have some instructions for rubymine debug?