LibDebug is a library that, on signal catch, will display a lot of useful debugging information depending on the environment variable DEBUG_.