Skip to content

Commit e59d553

Browse files
committed
_content/doc: document GODEBUG=toolchaintrace
For: golang/go#63939 Change-Id: I66ad4f766f9d62280247fa0787d20f7faac319fe Reviewed-on: https://go-review.googlesource.com/c/website/+/614237 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Michael Matloob <[email protected]>
1 parent 99a06e9 commit e59d553

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

_content/doc/toolchain.md

+4
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ Running `go version` prints the selected Go toolchain's version
263263

264264
Running `GOTOOLCHAIN=local go version` prints the bundled Go toolchain's version.
265265

266+
Starting in Go 1.24, you can trace the `go` command's toolchain selection process
267+
by adding `toolchaintrace=1` to the `GODEBUG` environment variable when you run the
268+
`go` command.
269+
266270
## Go toolchain switches {#switch}
267271

268272
For most commands, the workspace's `go.work` or the main module's `go.mod`

0 commit comments

Comments
 (0)