bashdb
« Back to VersTracker
Description:
Bash shell debugger
Type: Formula  |  Latest Version: 5.2-1.2.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: debugger bash shell development cli
Install: brew install bashdb
About:
bashdb is a source-code debugger designed specifically for the Bash shell script language. It provides a command-line interface similar to the GNU Debugger (GDB), allowing developers to set breakpoints, step through code, inspect variables, and trace execution. This tool is essential for debugging complex shell scripts and understanding their runtime behavior.
Key Features:
  • GDB-like command-line interface
  • Supports breakpoints, stepping, and watchpoints
  • Ability to trace execution and inspect variables
  • Debugs scripts without modifying the source code
Use Cases:
  • Debugging complex Bash automation scripts
  • Troubleshooting logic errors in shell scripts
  • Learning how a legacy shell script executes
Alternatives:
  • shfmt – shfmt formats shell scripts but does not provide runtime debugging capabilities.
  • VS Code Debuggers – IDE integrations often provide visual debugging, whereas bashdb is a standalone command-line tool.
License: GPL-2.0-or-later
Dependencies: bash
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 14, 2025 2:05pm 5.2-1.2.0 0 VERSION_BUMP e462d41f
Dec 23, 2024 4:43am 5.0-1.1.2 0 VERSION_BUMP 4519b67f