Skip to content

Commit bc59d17

Browse files
chore(docs): use env variable for coder agent debug address
1 parent 6ff88ef commit bc59d17

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/reference/agent-api/debug.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
### Code samples
66

77
```shell
8-
curl http://127.0.0.1:2113/debug/logs
8+
curl $CODER_AGENT_DEBUG_ADDRESS/debug/logs
99
```
1010

1111
`GET /debug/logs`
@@ -23,7 +23,7 @@ Get the first 10MiB of data from `$CODER_AGENT_LOG_DIR/coder-agent.log`.
2323
### Code samples
2424

2525
```shell
26-
curl http://127.0.0.1:2113/debug/magicsock
26+
curl $CODER_AGENT_DEBUG_ADDRESS/debug/magicsock
2727
```
2828

2929
`GET /debug/magicsock`
@@ -36,7 +36,7 @@ See
3636
### Code samples
3737

3838
```shell
39-
curl http://127.0.0.1:2113/debug/magicsock/debug-logging/true
39+
curl $CODER_AGENT_DEBUG_ADDRESS/debug/magicsock/debug-logging/true
4040
```
4141

4242
`GET /debug/magicsock/debug-logging/{state}`
@@ -62,7 +62,7 @@ for more information.
6262
### Code samples
6363

6464
```shell
65-
curl http://127.0.0.1:2113/debug/manifest
65+
curl $CODER_AGENT_DEBUG_ADDRESS/debug/manifest
6666
```
6767

6868
`GET /debug/manifest`

0 commit comments

Comments
 (0)