Add WSGI Middleware for debug