summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshenv/80_go4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go
index 06fb34c..b245430 100644
--- a/.zsh/zshenv/80_go
+++ b/.zsh/zshenv/80_go
@@ -38,4 +38,8 @@ alias gotip=$HOME/src/go/bin/go
# export GOPROXY=direct
# export GOSUMDB=off
+# Get all goroutine traces on panic, not just the crashing one. See
+# https://github.com/maruel/panicparse#gotraceback
+export GOTRACEBACK=all
+
# vim:ft=zsh