Skip to content

Commit d6df623

Browse files
go debug alias
1 parent 3a40fb0 commit d6df623

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

devenv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ if [ -f ${goPath} ]; then
8686

8787
#default go path
8888
export GOPATH=~/Projects
89+
90+
alias gd="dlv debug --headless --listen=:2345 --log $@"
8991
fi
9092

9193
golandpath='/Applications/GoLand.app'

scripts/gobr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
set -e
2+
13
gob
24
APPNAME=${PWD##*/}
35
echo running $APPNAME

0 commit comments

Comments
 (0)