in reply to Best way to debug in MVC

I tend to use Log::Log4perl with CGI:Application because it's what I used before discovering CGI::App, but if you don't have a preference then CGI::Application::Plugin::LogDispatch may suit.