Added debug mode
Merge branch 'master' of https://github.com/PerceptionStudy/Study1