Fixing debugIt bug (Closes #42)