Skip to content

shellm-org/debug

Repository files navigation

debug

Shell script debugger.

Installation

Installation with basher:

basher install shellm/debug

Installation from source:

git clone https://gitlab.com/shellm/debug
cd debug
sudo ./install.sh

Usage

Command-line:

# debug -h
Usage: debug [-tvn] <SCRIPT> [ARGS]

Run a script in path with the -x bash option (and more).
You should set the PS4 variable for better output.

Options:
  -t, --test
    Read the script and warn for encountered syntax errors.
    Do not actually run the script.

  -v, --verbose
    Run the script with verbose option.

  -n, --dry-run
    Options test and verbose combined. Validate the syntax
    and print the script to stdout.

  -h, --help
    Print this help and exit.

About

Shell script debugger.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published