From 59574714c841c2ae34bbd99154bac0c4d5a86f7b Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 15 Jun 2021 15:17:58 +0200 Subject: zshenv: set GOTRACEBACK=all See https://github.com/maruel/panicparse#gotraceback --- .zsh/zshenv/80_go | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-54-g00ecf