how to debug ruby on rails application

Hi Friends,

How to debug ruby on rails application line by line and how to watch
values while debugging application. any one have idea please help me
out..

Thanks in advance

http://railscasts.com/episodes/54-debugging-with-ruby-debug

Have a look at the Rails Guide on Debugging.

Colin

Use pry.

Hi Colin,
How are you? i am very thankful to your for continuous support to me. i
was not get proper way of debugging from that rails guide, that why i am
asking sorry for that, can you be provide any better links, i referred
http://ruby.railstutorial.org/chapters/sign-up#sec-rails_environments
that link.

Thanks you

Check this out:

http://railscasts.com/episodes/54-debugging-with-ruby-debug

Hope this help mate