/go-isdebug

Check if go program is running in debugger

Primary LanguageGoMIT LicenseMIT

isdebug

Go library to check if your code is currently running in a debugger.

Usage:

import "github.com/ReallyLiri/go-isdebug"

// ...

if isdebug.IsDebugging()() {
    // do something
}