zshdb

Debugger for zsh shell scripts with breakpoints and step execution

brewmacoslinux
Try with needOr install directly
Source

About

Debugger for zsh

Commands

zshdb

Examples

Debug a zsh script by setting breakpoints and stepping through execution$ zshdb script.zsh
Start debugger with specific arguments passed to the script$ zshdb script.zsh arg1 arg2
Use debugger commands like 'step', 'next', 'continue', and 'print' interactively$ zshdb (zshdb) break script.zsh:10 (zshdb) continue