Subtrace has experimental support for developers on macOS.

1

Start backend

Start your backend service the way you normally do. We’ll assume it’s running on port 8000 in this guide.

2

Download Subtrace

Open a terminal and download the latest version of Subtrace:

curl -fSLO "https://subtrace.dev/download/$(uname -s)/$(uname -m)/subtrace" && chmod +x ./subtrace
3

Run proxy

Run the Subtrace proxy on port 9000. All requests sent to port 9000 will be forwarded to 8000:

./subtrace proxy 9000:8000
4

Watch

Open the subt.link URL in your browser. Then send some API requests to port 9000 and watch them appear in the dashboard: