summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index be46fdb..c3b2eac 100644
--- a/main.go
+++ b/main.go
@@ -5,6 +5,7 @@ import (
"go.wit.com/log"
"go.wit.com/gui/gui"
+ "go.wit.com/gui/debugger"
"go.wit.com/gui/digitalocean"
)
@@ -24,6 +25,11 @@ func main() {
myDo.Update()
myDo.Show()
+ if debugger.ArgDebug() {
+ log.Sleep(2)
+ debugger.DebugWindow(myGui)
+ }
+
doUpdate()
// This is just a optional goroutine to watch that things are alive
gui.Watchdog()