Debug Rails scripts

My apologies if this is old hat or discussed elsewhere, but I was not able to find it.  Is it possible to debug rails scripts other than "server" in RubyMine?  I need to debug
"rails generate migration".


1 comment
Comment actions Permalink

Yes, that's possible, however you should create run configuration for it manually. Create ruby run configuration, specify script/rails as ruby script and generate migration (as well as other parameters) in script arguments field


Please sign in to leave a comment.