1 parent
e3e5af8de6
commit
16fabf59a2
2 files changed
+5
-1
No files matched your search
@@ -1,2 +1,4 @@
|
|||||||
debug.log
|
debug.log
|
||||||
historyposterd
|
historyposterd
|
||||||
|
.env
|
||||||
|
.env.d
|
||||||
@@ -37,7 +37,9 @@ lint:
|
|||||||
sh -c 'test -z "$$(gofmt -l .)"'
|
sh -c 'test -z "$$(gofmt -l .)"'
|
||||||
|
|
||||||
debug: build
|
debug: build
|
||||||
GOTRACEBACK=all HISTORYPOSTER_DEBUG=1 ./$(FN)d 2>&1 | tee -a debug.log
|
-mkdir -p ./.env.d
|
||||||
|
echo 1 > ./.env.d/HISTORYPOSTER_DEBUG
|
||||||
|
GOTRACEBACK=all envdir ./.env.d ./$(FN)d 2>&1 | tee -a debug.log
|
||||||
|
|
||||||
debugger:
|
debugger:
|
||||||
cd cmd/historyposter && dlv debug main.go
|
cd cmd/historyposter && dlv debug main.go
|
||||||
|
|||||||
Reference in new issue
Block a user