summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-03 14:36:16 -0600
committerJeff Carr <[email protected]>2024-01-03 14:36:16 -0600
commit674c733d54319b09592df3731901ae2860e72201 (patch)
tree88095bec6fcfdfab67bc4379efb1b528c089c1cd /main.go
parent5aacba7ff2ca5936bbe48449cd5728ad582bc3cf (diff)
using 'gui/debugger'
Signed-off-by: Jeff Carr <[email protected]>
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()