Tuesday, November 25, 2008

Bash debugger

This is for all of you hardcore bash scripters that sometimes want better debugging than placing "echo" statements in your scripts.

A co-worker sent this out to our internal sysadmin mail alias today.

http://www.linux.com/feature/153383

It references the bashdb project (bash debugger). I didn't know one existed.

2 comments:

Matt said...

wow, I don't know how I'd feel about writing bash scripts in a sane manner. Part of the appeal is the write-only aspect. ;-)

Seriously though, that is neat. I'm going to have to check it out. If it's easy to implement, I'll definitely start using it. Thanks for the heads up

Mestizo said...

Don't forget about "set -x" !