Fixed issue #544

Removed debugger require from middleware.rb.