TheBonsai 1218082743 learn Making xtrace output more useful: http://bash-hackers.org/wiki/doku.php/scripting/debuggingtips#making_xtrace_more_useful neurolysis 1307551807 forget neurolysis 1307551809 learn The value of $PS4 is printed (after expansion) before each command bash displays during an execution trace. See man bash, under PROMPTING. # http://bash-hackers.org/wiki/doku.php/scripting/debuggingtips#making_xtrace_more_useful llua 1449152948 forget llua 1449152954 learn The value of $PS4 is printed (after expansion) before each command bash displays during an execution trace. See man bash, under PROMPTING. # http://wiki.bash-hackers.org/scripting/debuggingtips#use_shell_debug_output izabera 1538773675 forget izabera 1538773706 learn The value of $PS4 is printed (after expansion) before each command bash displays during an execution trace. See man bash, under PROMPTING. # http://wiki.bash-hackers.org/scripting/debuggingtips#use_shell_debug_output Try PS4='+($?) $BASH_SOURCE:$FUNCNAME:$LINENO:'