Skip to main content

Flamegraphs for Flask Debug Toolbar

Project description

Based on the awesome [djdt-flamegraph]( project.

Get a flame graph of the current request.




  • Add flask_debugtoolbar_flamegraph to your requirements.txt.

  • Add flask_debugtoolbar_flamegraph.FlamegraphPanel to DEBUG_TB_PANELS.

  • Run your server with python runserver --nothreading --noreload


  • ValueError at /: signal only works in main thread: Flame graphs can only be generated in a single threaded server.

  • Flame graphs are disabled by default. You’ll have to enable it by clicking the checkbox next to it in the Debug Toolbar.

  • Probably won’t work on Windows.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flask_debugtoolbar_flamegraph-0.1.2.tar.gz (14.5 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page