You can debug with webrick as well: as James Byrne stated, you must
add --debugger when you run the webrick server.
Also you don't actually need to add the require statement neither
Debugger.start if you are using rails 2.x . 'debug' keywords will also
be ignored if you aren't running server with '--debugger', though it
can be a danger in rails 1.x apps; 'debug' statements will throw an
error unless ' require "ruby-debug" ' is added.. and even in that case
the server, at least webrick, will stop on the debug breakpoint even
if you run a production server.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to