summaryrefslogtreecommitdiff
path: root/debugger.go
blob: 6481e5dcb7e8ce07a08b6f2ce6433fc6dc923830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main

/*
	enables GUI options and the debugger in your application
*/

import (
	"go.wit.com/gui"
	"go.wit.com/lib/debugger"
	"go.wit.com/log"
)

func init() {
	gui.InitArg()
	if debugger.ArgDebug() {
		log.Info("cmd line --debugger == true")
		go func() {
			log.Sleep(2)
			debugger.DebugWindow()
		}()
	}
}