As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
$TARGET_NAME
$if($TARGET_NAME == "Debug"){MYDEBUG}{MYRELEASE}
$TARGET_NAME == Debug
$TARGET_NAME == 'Debug'
[[if(ReplaceMacros(_T("$TARGET_NAME")).Matches(_T("Debug"))){print("MYDEBUG");} else {print("MYRELEASE");}]]