Debugging rake app with sneakers

I want to find a way to debug sneakers workers with RubyMine.

My approach: 

1. I start the server using `config.ru` from RubyMine

2. I start sneakers from the terminal with `bundle exec sneakers work --require sneakers_beacons_mq.rb`

Breakpoints are not picked up by RubyMine for workers' code. 

 

How can I start sneakers to be able to debug them in RubyMine? 

 

PS

`binding.pry` works, btw

0

Hello,

Have you tried running sneakers in RubyMine via Gem command Run configuration that can be launched in debug mode as well?

0

It worked great! Thank you for the help, Olga :)

0

Shoes has some built in dump commands (Shoes.debug), but are there other tools that can debug the code without injecting debug messages throughout? Something like gdb would be great.

ReadyPay Online

 

0

Madsenpouros RubyMine's debugger work the way you'd like to (that is, without necessity to change the code)

0

请先登录再写评论。