Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ If the command fails, the error message will show the precise command
that failed, and when `DEBUG=1` will then present you with a debug
shell from which you can choose to continue or to exit your script.

Note that DEBUG traps are not normally inherited by shell functions,
command substitutions, and commands executed in a subshell environment
unless the shell option `functrace` is set
(`set -T` or `set -o functrace` will accomplish this).

#### Advanced Debugging

This library contains an alternate debug trap that can be uncommented
Expand Down