Guides
Gunicorn + Subtrace
Connect your Gunicorn backend to Chrome DevTools using Subtrace
You can connect your Gunicorn backend to Chrome DevTools using Subtrace with just one command. With Subtrace, you can inspect the status, headers, payload, and latency of all API requests so you can debug way faster.
For this guide, we’ll use the following Gunicorn app as an example:
To start, download the latest version of Subtrace:
Get a SUBTRACE_TOKEN
from the Subtrace dashboard
for free to set it as an environment variable.
To start your server on port 8000, run the following command:
Send a request to localhost:8000
to see it in the Subtrace dashboard!