News for hackers. Stuff that matters.
Re:Bash Debugging by Scrutiny6707 on Sunday March 03, 2024 @07:59PM (#39586021)
The trap command with printing the lines didn't work.

Had to change it to drop the parantheses, then it worked, like this

trap 'read -p "[${BASH_SOURCE:-}:${LINENO:-}] ${BASH_COMMAND:-}"' DEBUG

There are no comments on this comment yet.