$ 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 $ 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 scriptYou can also just execute another ‘bash’ process, of course the environment is a bit different