I suspect the get_app
method should return a class instance. If you look at the example provided in the documentation, it returns an instance of tornado.web.Application
:
def get_app(self):
return Application([('/', MyHandler)...])
But you return a type:
def get_app(self):
return DebugApp
What you probably want is:
def get_app(self):
return DebugApp()