Guides
Go + Subtrace
Connect your Go backend to Chrome DevTools using Subtrace
You can connect your Go backend to Chrome DevTools using Subtrace so that you can can inspect the status, headers, payload, and latency of all requests. It takes just one command to integrate Subtrace.
For this guide, we’ll use the following Go app as an example:
First, download the latest version of Subtrace using the following command:
And get a SUBTRACE_TOKEN
from the Subtrace dashboard
for free to set it as an environment variable.
Build the main
binary using the following commands:
And start your server using Subtrace:
Send some requests to localhost:8080
to see them automatically appear in
Chrome DevTools in the Subtrace dashboard!