Do you find debugging Salesforce Apex code annoying?
Apexlogs is a minimal TUI1 application for viewing Salesforce Apex logs from your terminal.
It automatically creates the required debug level and trace flag records for you and allows you to easily fetch and view logs.
The easiest way to install apexlogs is using Homebrew2:
brew install cdelmoral/tap/apexlogs
You can also install it using go3:
go install github.com/cdelmoral/apexlogs
If you haven't already install the Salesfoce CLI4.
Open a terminal and navigate to your Salesforce project directory.
If a default scratch org is not set already configure it by running
sf config set target-org my-scratch-org-alias
.
Open the application by running apexlogs
in your terminal.