*: added comment
This commit is contained in:
parent
6d136ee2cb
commit
0311e53ebb
|
@ -336,6 +336,8 @@ func requireAdminRights() {
|
||||||
admin, _ := util.HaveAdminRights()
|
admin, _ := util.HaveAdminRights()
|
||||||
if //noinspection ALL
|
if //noinspection ALL
|
||||||
admin || isdelve.Enabled {
|
admin || isdelve.Enabled {
|
||||||
|
// Don't forget that for this to work you need to add "delve" tag explicitly
|
||||||
|
// https://stackoverflow.com/questions/47879070/how-can-i-see-if-the-goland-debugger-is-running-in-the-program
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue