Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.13 KB

macos.mdx

File metadata and controls

44 lines (34 loc) · 1.13 KB
title sidebarTitle description icon
macOS support
macOS
Use Subtrace in your macOS development environment
apple

Subtrace has experimental support for developers on macOS.

Start your backend service the way you normally do. We'll assume it's running on port 8000 in this guide. Open a terminal and download the latest version of Subtrace:
```bash
curl -fSLO "https://subtrace.dev/download/$(uname -s)/$(uname -m)/subtrace" && chmod +x ./subtrace
```
Run the Subtrace proxy on port 9000. All requests sent to port 9000 will be forwarded to 8000:
```bash
./subtrace proxy 9000:8000
```

<Expandable title="example output">
  <img className="rounded-xl" src="/images/macos-link.png" />
</Expandable>
Open the `subt.link` URL in your browser. Then send some API requests to port 9000 and watch them appear in the dashboard:
<img className="rounded-xl" src="/images/quickstart-screenshot.png" />