datasette-debug-asgi by simonw

207 downloads this week        Star

README source code

datasette-debug-asgi

PyPI Changelog Tests License

Datasette plugin for dumping out the ASGI scope.

Adds a new URL at /-/asgi-scope which shows the current ASGI scope. Demo here: https://datasette.io/-/asgi-scope

Installation

pip install datasette-debug-asgi

Usage

Visit /-/asgi-scope to see debug output showing the ASGI scope.

You can add query string parameters such as /-/asgi-scope?q=hello.

You can also add extra path components such as /-/asgi-scope/more/path/here.