Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I googled and found a hint that I should set debug mode in Tornado so that it could reload files automatically on update. But I didn't find an exact string to insert. I tried different combinations similar to this application.settings = {"Debug": True} but it doesn't help.

share|improve this question
i think it should be {"debug":True} – jondinham Mar 2 '12 at 5:52

Here's a tweaked example from the tornado site:

if __name__ == "__main__":
    application = tornado.web.Application([
        (r"/", MainHandler) 
    ], debug=True)
share|improve this answer
"debug=True" has to be outside of the list of handlers for it to work---like this: "...],debug=True)" – Hemm Apr 17 '12 at 4:18
Good catch, I had written it without checking it. Updated my answer accordingly. – Jon Haddad May 1 '12 at 20:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.