LINK /DEBUG

Syntax

/debug[:level[[,level]...]]

The /debug option accepts any number of arguments, including none. All arguments are simple keywords, the permitted values being full, mapped, minimal, none, notmapped and partial. Anything else is a fatal error (LNK1117). Though mapped and notmapped are syntactically valid, they are obsolete and cause a warning (LNK4224).

Each level overrides any that was set before, in the same or an earlier /debug option. To specify /debug with no arguments is equivalent to specifying /debug:full.

The /debug option is for the command line only. It is not valid as a directive in an object file.