Skip to content

Add line numbers and function names to debug output #30

@poddmo

Description

@poddmo

Add line numbers and function names to debug output by setting the PS4 environment variable.

Please change line 4482-4483 of abcde like this:
From

		D) set -x ;;
		h) usage; exit ;;

to this

		D) set -x
           PS4='+ ${LINENO}(${FUNCNAME}): '
           ;;
		h) usage; exit ;;

These changes were tested while working on issue #29 and add very helpful context to the debug output.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions