Debug Property

NAnt SDK Documentation - v0.92 |

# IlasmTask.Debug Property

Specifies whether or not the compiler should generate debug information.

[Visual Basic]
<BooleanValidator, _ TaskAttribute(Name:="debug", Required:=False, ExpandProperties:=True, ProcessXml:=True)>
Public Property Debug As Boolean
[C#]
[BooleanValidator]
[TaskAttribute(Name="debug", Required=False, ExpandProperties=True, ProcessXml=True)]
public bool Debug {get; set;}

#### Property Value

true if debug information should be generated; otherwise, false. The default is false.

#### Remarks

Corresponds to the `/DEBUG` flag.

#### See Also

IlasmTask Class | NAnt.DotNet.Tasks Namespace