make it easier to turn on debugging mode

Bug #178463 reported by Aaron Swartz
2
Affects Status Importance Assigned to Milestone
web.py
Fix Released
Medium
Anand Chitipothu

Bug Description

Right now if you want to debug a web.py app, you have to:

 * set cache=False on web.template.render calls
 * set internalerror=debugerror
 * add web.reloader to your middleware

and probably something else I've forgotten. There should be one switch for all of this and it should be turned on automatically if you use the built-in server.

Aaron Swartz (aaronsw)
Changed in webpy:
assignee: nobody → anandology
importance: Undecided → Medium
milestone: none → 0.3
status: New → Confirmed
Revision history for this message
Anand Chitipothu (anandology) wrote :

except reloader everything else in the above list is fixed.

Revision history for this message
Aaron Swartz (aaronsw) wrote : Re: [Bug 178463] Re: make it easier to turn on debugging mode

cache=False is only fixed if you set the render dir after you run the
webserver, right?

Revision history for this message
Anand Chitipothu (anandology) wrote :

On Thu, Aug 28, 2008 at 11:27 PM, Aaron Swartz <email address hidden> wrote:
> cache=False is only fixed if you set the render dir after you run the
> webserver, right?

ah, you are right. I'll fix it.

Revision history for this message
Anand Chitipothu (anandology) wrote :

fixed.

Changed in webpy:
status: Confirmed → Fix Committed
Changed in webpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.