Always run pprof when running debug through makefile
This commit is contained in:
parent
fd7ec2aaac
commit
fb73d5dbbf
4
Makefile
4
Makefile
|
@ -5,8 +5,8 @@ build:
|
|||
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -gcflags "all=-trimpath=$(pwd)" -o build/wings_linux_arm64 -v wings.go
|
||||
|
||||
debug:
|
||||
go build -ldflags="-X github.com/pterodactyl/wings/system.Version=$(GIT_HEAD)" -race
|
||||
sudo ./wings --debug --ignore-certificate-errors --config config.yml
|
||||
go build -ldflags="-X github.com/pterodactyl/wings/system.Version=$(GIT_HEAD)"
|
||||
sudo ./wings --debug --ignore-certificate-errors --config config.yml --pprof
|
||||
|
||||
# Runs a remotly debuggable session for Wings allowing an IDE to connect and target
|
||||
# different breakpoints.
|
||||
|
|
Loading…
Reference in New Issue
Block a user