Created
August 14, 2023 23:11
-
-
Save TheDcoder/fd8d93e9ab56cf69b0e87e0f404802d2 to your computer and use it in GitHub Desktop.
Ultimate Debugging for Bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start bash with `-x` option with this env var | |
export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment