0

How can I use RubyMine debugger in Sinatra app

I have simple Sinatra app in the simple.rb file

require 'rubygems'
require 'sinatra'


get '/' do
  "Simple service"
end



I start application within RubyMine with use of shotgun script

/usr/bin/ruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /usr/bin/rdebug-ide --port 58272 -- /Users/korzonek/.gem/ruby/1.8/bin/shotgun simple.rb
Fast Debugger (ruby-debug-ide 0.4.5) listens on :58272
== Shotgun starting Rack::Handler::Mongrel on localhost:9393
::1 - - [03/Nov/2009 14:04:16] "GET / HTTP/1.1" 200 3 0.0158



Unfortunately breakpoints and all debugger goodies don't work

Has anybody built Sinatra application with help of RubyMine?

6 comments

Please sign in to leave a comment.