Added IfDebug macro
Merge branch 'tmp'

* tmp:
  Added IfDebug macro