Turn on debug mode / #issue 10

This PR intentes to identify the issue reported on #10 and if needed implement the required code fixes.