diff options
| author | Jeff Carr <[email protected]> | 2025-09-01 18:57:50 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-01 18:57:50 -0500 |
| commit | 26d674c800eff651fb174484da39ddf3eddcd33b (patch) | |
| tree | dc2e8dae1e0787927238c3ba49e7e8d5823474d3 /debugger.go | |
| parent | 5dadf3b5ef3f58c80c7a62f96a0a62b4a784961b (diff) | |
initial table dumps to STDOUT
Diffstat (limited to 'debugger.go')
| -rw-r--r-- | debugger.go | 20 |
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() + }() + } +} |
