kota's memex

https://github.com/go-delve/delve

Enter a go project directory and run dlv debug. This will drop you into a CLI interface for delve with a number of useful commands. If you need to pass some arguments to the go program try this dlv run -- -a -b -c.

b break

Enter a new breakpoint.

break main.main
break main.go:8

bp breakpoints

List breakpoints.

c clear

Clear a breakpoint.

clearall

Clear all breakpoints.

continue

Run the program till the next breakpoint.

locals

Print local variables which exist in the current scope and their values.