LazyDebugger
A modified version of lazyjournal with an additional pldm_verbose filter mode for debugging PLDM (Platform Level Data Model) daemon logs.
What's New
PLDM Verbose Filter Mode
Added a new filter mode specifically for pldmd daemon debugging:
- Filters: Shows only lines from pldmd containing "Rx:" (receive) or "Tx:" (transmit) messages
- Highlights:
- Rx: messages in green
- Tx: messages in yellow
- Additional filter text in blue (if provided)
Filter Modes
LazyDebugger supports 5 filter modes (cycle through with Up/Down or PgUp/PgDown):
- Default - Exact search with case sensitivity
- Fuzzy - Fuzzy search without case sensitivity
- Regex - Regular expression search
- PLDM Verbose - ⭐ NEW: Filter for parsing pldmd Rx:/Tx: messages
- Timestamp - Filter by date range
Installation
Pre-built binary (Linux / macOS / OpenBSD / FreeBSD)
Download the latest release binary for your platform from the
Releases page and install it:
# Replace <version>, <os>, and <arch> with your values, e.g.: v0.8.6, linux, amd64
VERSION=<version>
OS=<os> # linux | darwin | openbsd | freebsd
ARCH=<arch> # amd64 | arm64
curl -L "https://github.com/manojkiraneda/lazydebugger/releases/download/${VERSION}/lazydebugger-${VERSION}-${OS}-${ARCH}" \
-o lazydebugger
chmod +x lazydebugger
sudo mv lazydebugger /usr/local/bin/
Or use the one-liner that detects your platform automatically:
curl -fsSL https://raw.githubusercontent.com/manojkiraneda/lazydebugger/main/scripts/install.sh | bash
Windows
irm https://raw.githubusercontent.com/manojkiraneda/lazydebugger/main/scripts/install.ps1 | iex
Go install
If you have Go installed, you can install directly from the module path:
go install github.com/manojkiraneda/lazydebugger@latest
The binary is placed in $GOPATH/bin (usually ~/go/bin). Make sure that directory is on your PATH:
export PATH=$PATH:$(go env GOPATH)/bin
Build from source
Requires Go 1.21+.
git clone https://github.com/manojkiraneda/lazydebugger.git
cd lazydebugger
go build -o lazydebugger .
sudo mv lazydebugger /usr/local/bin/
Or with the Makefile (automatically downloads Go if missing):
make install
Usage
Basic Usage
lazydebugger
License
This is a modified version of lazyjournal. Please refer to the original project for license terms.
Contributing
This is an experimental project for debugging pldmd. Suggestions for improvements are welcome.