How do I get Eclipse Debug Server to debug rails application? -
i have simple rails app runs in eclipse juno when use command line 'rails server' launch. need debug in eclipse ide , set breakpoints, , can't figure out how run server withing eclipse using either 'run server', 'debug server', 'run as', or 'debug as'. nothing happens, no output console, nothing.
my gemlist has: using debugger-linecache (1.2.0)/ using debugger-ruby_core_source (1.3.2)/ using debugger (1.6.6)
i ran bundle install , 'gem install debugger' successfully. have ruby 1.93, rails 3.2.17 windows 7. restarted.
i have eclipse environment configured on mac, debugger, can't find missing piece windows setup.
thanks much,
anne
i had similar issue eclipse + aptana plugin. when select 'debug/run server', nothing happened.
the issue project structure. in case, had empty rails project (testproject) in eclipse , imported rails application file system (railsapp). so, project explorer, had hierarchy as
testproject -> railsapp -> app, config, etc..
but, in order make debugging work, had have project hierarchy railsapp -> app, config, etc..
todo that, in fresh eclipse, import existing folder new project 'rails project' default perspective. debugging works fine.
cheers !
Comments
Post a Comment