Golang debugger graphical user interface. Built on Delve debugger. It aims to provide a similar user experience to Chrome developer tools.
- Source code view
- Breakpoints (Add, remove, activate, deactivate)
- Disassmbly panel
- Watches
- List of functions
- List of types
- List of Open files by the process
- Show Process ID
- Shows Process current working directory
- Compiles go module executable or tests
- Recompile and restart the process when changes are detected
- Stack trace panel, listing all go routines
- List of packages, and links to package documentation
- List of source files
- Memory statistics
- Linux: tested on Archlinux machine with go-1.19/amd64
- Project depends on Gio package. make sure you install it's dependencies https://gioui.org/doc/install
- Install
debugger
latest version usinggo install
go install github.com/emad-elsaid/debugger@latest
debugger run <package-path> <compile-arguments> -- <runtime-argument>
- arguments before
--
is passed togo build
command. - arguments after
--
is passed to your program.
Examples:
Compile and debug the package in current directory
debugger run .
Compile and debug package in cmd/cli/
directory
debugger run ./cmd/cli/
Compile and debug current package and pass --secure=false
to the program
debugger run . -- --secure=false
debugger test <package-path> <compile-arguments> -- <runtime-argument>
- fsnotify
- Delve
- Gioui
- Fork
- Branch
- Add proof of concept for your feature to get the conversation started
- Open Pull request with your changes
- Discuss the idea and the POC
- Continue until the PR is in a good shape for merging
- Open an issue with the idea state the following:
- Problem statement
- List of solutions
- Preferred solution
- Why this solution was choosen?
This project is published under the MIT license