zshdb
« Back to VersTracker
Description:
Debugger for zsh
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: debugger zsh shell development cli
Install: brew install zshdb
About:
Zshdb is a robust command-line debugger specifically designed for the Zsh shell. It provides a familiar debugging interface similar to GDB or Perl's debugging tools, allowing developers to set breakpoints, step through code, and inspect variables. This tool significantly simplifies the process of troubleshooting complex shell scripts and automation workflows.
Key Features:
  • Step-through execution (step in, over, out)
  • Breakpoint management (set, clear, conditional)
  • Variable and environment inspection
  • Command-line interface with readline support
Use Cases:
  • Debugging complex Zsh automation scripts
  • Troubleshooting unexpected behavior in shell functions
  • Learning how Zsh executes scripts by stepping through code
Alternatives:
  • bashdb – The BashDB debugger offers similar functionality but is specifically for Bash scripts, whereas Zshdb is optimized for Zsh syntax and features.
  • VS Code Debuggers – IDE integrations provide a graphical interface, while Zshdb is a dedicated CLI tool for lightweight, terminal-native debugging.
Version History
Detected Version Rev Change Commit