Ruby Debugger Doesn't Stop at Breakpoints when Running Rails from a Ruby Run/Debug Configuration

I setup a run/debug configuration with IntelliJ IDEA 2016.3.2 to bypass not being able to get a rails run/debug configuration because of it being unable to find the rails launcher.  I've specified my ruby script as the rails within my .rbenv folder  {OTHER PARTS OF PATH}/.rbenv/versions/2.3/bin/rails with script arguments s using the appropriate rbenv SDK.   Although the run/debug configuration runs, the program never breaks at my specified break points.  I'm able to get the breakpoints to work when using sinatra with the same SDK, but when executing the rails script it doesn't work.

0

Hello Aaron,

could you please specify what kind of application you have (if it's possible to provide its structure, that would be great)

0

请先登录再写评论。