varvoy is short for "Variable Voyager"
A Go debugger.
It is build on top of two awesome packages:
Work in progress:
todebug/withimports
andtodebug/hello
can be debugged.
- works with the
vscode-go
extension of Microsoft Visual Studio Code - imports generated stubs for required Go modules
- handle code modification during debugging session
- evaluate expression in a debugger session
- restart from stack frame
go install github.com/emicklei/varvoy/cmd/varvoy@latest
In settings.json
of the Go VSCode plugin, set an alternative to dlv
.
Use which varvoy
to find the absolute path.
"go.alternateTools": {
"dlv": "/Users/emicklei/go/bin/varvoy"
}
See Desgin
- no Windows support for now
- project must have a go.mod
- go mod file cannot have replace