I'm just getting started with pylons, and am trying to figure out how to view the contents of variables for debugging without rendering the template.
For example:
class IndexController(BaseController):
def index(self):
# Return a rendered template
#return render('/index.mako')
# or, return a response
return render('/index.mako' )
def test(self):
v = request.params
return v
I would like to view the contents of array v, but I can't figure out how to do it !!
Thanks.