diff --git a/Makefile b/Makefile index 865c3d1..563dc69 100644 --- a/Makefile +++ b/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.