<debug> execute debug code

name
debug
xml namespace
http://moyaproject.com

Executes a block only if Moya is in debug mode. You can enable debug mode the setting 'debug' under the project section. This tag is equivalent to the following:

<if test=".debug">
    <echo>Moya is in debug mode. Relax.</echo>
</if>
Be careful to not do anything inside this tag that your project may depend on. It will not execute in a production environment!

Example

<debug>
    <echo>Moya is in debug mode. Relax.</echo>
</debug>
inherited attributes
name purpose type required? default choices
if Conditional expression expression No yes