debug object added. include debug.php, then use Debug::printMsg('msg')
Merge branch 'master' of https://github.com/srabeat/idealand