RubyMine Rails Remote Debug rdebug-ide

445 views Asked by At

I'm using RubeMine to develop RAILS code. And I'm using remote debugging between RubyMine and rdebug-ide.

All works very well, but there is a minor point the debugger failes.

In RAILS I'm using in the MODEL :

has_one_attached :paper 

When running nativly without the debugger, I can access and ask e.g:

object.paper.attached?

But the same line of code failes when running in debugger.

ActionView::Template::Error (undefined method `paper'.....

So my mind goes into the direction the debugger is the reason. Version Information:

rdebug-ide -v
Using ruby-debug-base 0.2.4.1

gem list | grep ruby-debug     
ruby-debug-ide (0.7.2)

And idea to fix that ?

0

There are 0 answers