File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : " macOS support"
3
+ sidebarTitle : " macOS"
4
+ description : " Use Subtrace in your macOS development environment"
5
+ icon : " apple"
6
+ ---
7
+
8
+ Subtrace has experimental support for developers on macOS.
9
+
10
+ <Steps >
11
+ <Step title = " Start your backend service" >
12
+ Start your backend service the way you normally do. We'll assume it's
13
+ running on port 8000 in this guide.
14
+ </Step >
15
+
16
+ <Step title = " Download Subtrace" >
17
+ Open a terminal and download the latest version of Subtrace:
18
+
19
+ ``` bash
20
+ curl -fSLO " https://subtrace.dev/download/$( uname -s) /$( uname -m) /subtrace" && chmod +x ./subtrace
21
+ ```
22
+ </Step >
23
+
24
+ <Step title = " Run the proxy" >
25
+ Run the Subtrace proxy on port 9000. All requests sent to port 9000 will be
26
+ forwarded to 8000:
27
+
28
+
29
+ ``` bash
30
+ ./subtrace proxy 9000:8000
31
+ ```
32
+
33
+ <Expandable title = " example output" >
34
+ <img className = " rounded-xl" src = " /quickstart-link.png" />
35
+ </Expandable >
36
+ </Step >
37
+
38
+ <Step title = " Watch" >
39
+ Open the ` subt.link ` URL in your browser to watch a live stream of every
40
+ requests that gets sent to port 9000!
41
+
42
+ <img className = " rounded-xl" src = " /quickstart-screenshot.png" />
43
+ </Step >
44
+ </Steps >
You can’t perform that action at this time.
0 commit comments