import unittest2
import werkzeug.serving
+from werkzeug.debug import DebuggedApplication
if os.name == 'posix':
# Unix only for workers
watcher.start()
else:
_logger.warning("'watchdog' module not installed. Code autoreload feature is disabled")
+ server.app = DebuggedApplication(server.app, evalex=True)
rc = server.run(preload, stop)