Added DebugLog enabling to sample

To me, a sample is something I can just copy paste and run, and with this, I was scratching my head wondering why it wasn't working. It's mentioned in the top description, but to me the code should work as is without need for modification.
Merge pull request #30 from EhsanKia/patch-1

Added DebugLog enabling to sample