summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com>2023-02-02 13:00:43 -0800
committerGitHub <noreply@github.com>2023-02-02 13:00:43 -0800
commit788f9f3cdc4560dda8bda195e5aa07b556f8537d (patch)
tree66d708d9bdd55655b0368e0b5fad5936c22183f4
parent62896b3c19d285d1c8aa40f57206a0e8d61acc92 (diff)
parentde402df2d20a2fca233b40bf87d982460c4d4374 (diff)
Merge pull request #6910 from sreekaransrinath/dbg-not-go-flags
Update docs: recommend setting DBG instead of GOGCFLAGS to make in debug mode
-rw-r--r--contributors/devel/development.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/contributors/devel/development.md b/contributors/devel/development.md
index 7ab3cf31..ab5d4cce 100644
--- a/contributors/devel/development.md
+++ b/contributors/devel/development.md
@@ -362,10 +362,10 @@ The Kubernetes build system defaults to limiting the number of reported Go compi
make WHAT="cmd/kubectl" GOGCFLAGS="-e"
```
-If you need to use debugging inspection tools on your compiled Kubernetes executables, add `-N -l` to `GOGCFLAGS`. For example:
+If you need to use debugging inspection tools on your compiled Kubernetes executables, set DBG=1. For example:
```sh
-make WHAT="cmd/kubectl" GOGCFLAGS="-N -l"
+make WHAT="cmd/kubectl" DBG=1
```
To cross-compile Kubernetes for all platforms, run the following command: