Add makefile entry for remote debugging support with dev environment
This commit is contained in:
6
Makefile
6
Makefile
@@ -6,6 +6,12 @@ debug:
|
|||||||
go build -race
|
go build -race
|
||||||
sudo ./wings --debug --ignore-certificate-errors --config config.yml
|
sudo ./wings --debug --ignore-certificate-errors --config config.yml
|
||||||
|
|
||||||
|
# Runs a remotly debuggable session for Wings allowing an IDE to connect and target
|
||||||
|
# different breakpoints.
|
||||||
|
rmdebug:
|
||||||
|
go build -gcflags "all=-N -l" -race
|
||||||
|
sudo dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec ./wings -- --debug --ignore-certificate-errors --config config.yml
|
||||||
|
|
||||||
compress:
|
compress:
|
||||||
upx --brute build/wings_*
|
upx --brute build/wings_*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user