Debugging CGI params ?

Is there an easy way to debug the CGI Params that get returned from an HTML form?

I can use a logger event to push things to the log file, but I'd really like to do something step-by-step, like an irb console session, I just haven't figured out the steps needed....

Any pointers?

Matt

matt wrote:

Is there an easy way to debug the CGI Params that get returned from an HTML form?

If you just want to simply take a look at the parameters, temporarily put "raise" in your controller method. You'll get the standard "RuntimeError in SomeController#action" page that shows up during development, including the section showing the request parameters.

If you want to step through code, look into breakpoint.

Dan Manges