Add makefile entry for remote debugging support with dev environment
This commit is contained in:
parent
3f84ee694b
commit
17b46a4a8f
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_*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user