zshdb is debugger for zsh scripts. It started as a port of my bash debugger bashdb so the commands used in both are similar.
The command syntax generally follows that of the trepanning debuggers and, more generally, GNU debugger gdb.
See Installation for how to install.
Rocky Bernstein firstname.lastname@example.org