Add support for ight_debug()

It makes semantically sense to have this function in. I discussed
the opportunity of adding this function in #31.