Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tornado-debugger

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tornado-debugger

A better exception printer for Tornado web server.

  • 0.9.2
  • PyPI
  • Socket score

Maintainers
1

tornado-debugger

A debugger for Tornado server for a better development experience.

Tornado's default exception reporter is very basic and primitive. tornado-debugger is a drop-in replacement for the built-in debugger.

Install

$ pip install tornado-debugger

Usage

Use the DebuggerMixin class to automatically add the debugger features. This mixin class overrides RequestHandler.write_error method and will display a detailed error page.

from tornado import web
from tornado_debugger import DebuggerMixin


class IndexHandler(DebuggerMixin, web.RequestHandler):
    # always inherit from mixin class BEFORE the base class

    def get(self):
        1/0

Note: The DebuggerMixin only works in debug mode (i.e. when debug=True in the Application settings).

Screenshot

tornado-debugger screenshot

License

BSD-3-Clause

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc