I am trying to get remote debugging set up with an app running on jruby-rack in tomcat. I have succeeded in getting ruby-debug-ide to fire up a listener port on 1234 and connecting to that port from intellij. The app will pause on breakpoints I set up intellij as well. However, step over does not work, and any time I try to inspect variables in scope (expand an object), the debugger will simply jump to my next breakpoint. I suspect that I need to somehow pass the --debug flag to jruby, but not sure how to do this with jruby-rack. I have tried to set JRUBY_OPTS="--debug" but this does not work.
Any thoughts on how I can get this working? I am _so_ close.