-(global): fixing the installation flow on windows
There could be a bug caused by the lack of SO_REUSEPORT
This commit is contained in:
5
isdelve/delve.go
Normal file
5
isdelve/delve.go
Normal file
@@ -0,0 +1,5 @@
|
||||
// +build delve
|
||||
|
||||
package isdelve
|
||||
|
||||
const Enabled = true
|
||||
3
isdelve/doc.go
Normal file
3
isdelve/doc.go
Normal file
@@ -0,0 +1,3 @@
|
||||
// Package isdelve is for checking if we're debugging:
|
||||
// https://stackoverflow.com/questions/47879070/how-can-i-see-if-the-goland-debugger-is-running-in-the-program
|
||||
package isdelve
|
||||
5
isdelve/nodelve.go
Normal file
5
isdelve/nodelve.go
Normal file
@@ -0,0 +1,5 @@
|
||||
// +build !delve
|
||||
|
||||
package isdelve
|
||||
|
||||
const Enabled = false
|
||||
Reference in New Issue
Block a user