Add warning and debug flags
Merge pull request #52 from fdelapena/master

Add warning and debug flags