summaryrefslogtreecommitdiff
path: root/debugger.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-13 20:10:45 -0600
committerJeff Carr <[email protected]>2025-02-13 20:10:45 -0600
commit88f6e8519b7f3e735c86b02ceb8fcb6bc9c8078d (patch)
treeeb1669fe82c52593719e74a2fa28082e808ddc20 /debugger.go
parentce18af897a6aac7ce9d19af9520ce531cfad31df (diff)
stubbed in tables
Diffstat (limited to 'debugger.go')
-rw-r--r--debugger.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/debugger.go b/debugger.go
new file mode 100644
index 0000000..f7a6aca
--- /dev/null
+++ b/debugger.go
@@ -0,0 +1,20 @@
+package main
+
+/*
+ enables GUI options and the debugger in your application
+*/
+
+import (
+ "go.wit.com/lib/debugger"
+ "go.wit.com/log"
+)
+
+func init() {
+ if debugger.ArgDebug() {
+ log.Info("cmd line --debugger == true")
+ go func() {
+ log.Sleep(2)
+ debugger.DebugWindow()
+ }()
+ }
+}