Adding useful debug information

see #162