3/28/2025 at 7:23:51 AM
$ alias breakpoint
alias breakpoint='
while read -p"Debugging(Ctrl-d to exit)> " debugging_line
do
eval "$debugging_line"
done
'
Good breakpoint repl you can insert anywhere in a bash script
by porridgeraisin
3/28/2025 at 5:07:14 PM
Nice. I recently have been doing a bash deep dive and realizing that treating it like repl driven development is very useful. Been wondering if this is worth writing about for others.You can also just execute another ‘bash’ process, of course the environment is a bit different
by JoelMcCracken