Back to godoc.org
github.com/pieterclaerhout/go-james/cmd/debugger

package debugger

v1.6.0
Latest Go to latest
Published: May 28, 2020 | License: Apache-2.0 | Module: github.com/pieterclaerhout/go-james

Index

Variables

var DebugCmd = climax.Command{
	Name:  "debug",
	Brief: "Debug a binary or example using delve",
	Help:  "Debug a binary or example using delve",
	Handle: func(ctx climax.Context) int {

		tool := debugger.Debugger{
			Args: ctx.Args,
		}

		executor := internal.NewExecutor("")
		return executor.RunTool(tool, true)

	},
}

DebugCmd implements the debug command

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier