Skip to main content
You can connect your Flask backend to Chrome DevTools using Subtrace with just one line of code. With Subtrace, you can inspect the status, headers, payload, and latency of all API requests so you can debug way faster. To begin with, install Subtrace:
For this guide, we’ll use the following hello.py Flask app as an example:
Before we move on to the next step, get a SUBTRACE_TOKEN from the Subtrace dashboard for free and set it as an environment variable.
Now use the flask command to start the server on port 5000:
Send some requests to localhost:5000 to see them in Chrome DevTools in the Subtrace dashboard!