LINK /D2

This option provides command-line arguments for the back-end compiler.

Syntax

/d2:cmdline

The required cmdline argument consists of everything after the colon. It is a fatal error (LNK1146) if filename begins with a comma. If filename otherwise contains a comma, it is accepted with a warning (LNK4056). Multiple use of /d2 is a fatal error (LNK1239).

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