bash-debug
bash-debug copied to clipboard
Simple debugger for bash
A simple debugger for bash.
Each script command is printed before execution. Then command prompt appears (no autocompletion). Prompt includes the last command return value. You can print a command to execute in the script context or an empty line to continue.
bash-debug script-to-debug.sh [script args]
Note: set -T is used, changing DEBUG and RETURN traps inheritance.