debug and vscode debug launch

This commit is contained in:
redanthrax
2022-06-15 14:42:40 -07:00
parent ecddc2fe21
commit d1df98ad3e
5 changed files with 33 additions and 0 deletions

View File

@@ -49,6 +49,10 @@ var (
)
func (a *Agent) RunRPC() {
if rmm.DEBUG {
a.Logger.Infoln("DEBUG MODE")
}
a.Logger.Infoln("Agent service started")
go a.RunAsService()
var wg sync.WaitGroup