*: added comment

This commit is contained in:
Andrey Meshkov 2020-05-08 17:43:49 +03:00
parent 6d136ee2cb
commit 0311e53ebb
1 changed files with 2 additions and 0 deletions

View File

@ -336,6 +336,8 @@ func requireAdminRights() {
admin, _ := util.HaveAdminRights()
if //noinspection ALL
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
}