# debug-parameters

Tells the compiler to generate debug information for PARAMETERs used in a program.

## Syntax

Linux: | -debug-parameters [keyword] -nodebug-parameters

macOS: | -debug-parameters [keyword] -nodebug-parameters

Windows: | /debug-parameters[:keyword] /nodebug-parameters

## Arguments

keyword | Specifies the PARAMETERs to generate debug information for. Possible values are:
none | Generates no debug information for any PARAMETERs used in the program. This is the same as specifying nodebug-parameters.
used | Generates debug information for only PARAMETERs that have actually been referenced in the program. This is the default if you do not specify a keyword.
all | Generates debug information for all PARAMETERs defined in the program.

## Default

nodebug-parameters | The compiler generates no debug information for any PARAMETERs used in the program. This is the same as specifying keyword none.

## Description

This option tells the compiler to generate debug information for PARAMETERs used in a program.

Note that if a .mod file contains PARAMETERs, debug information is only generated for the PARAMETERs that have actually been referenced in the program, even if you specify keyword all.

## IDE Equivalent

Visual Studio: Debugging > Information for PARAMETER Constants

## Alternate Options

None

Parent topic: Output, Debug, and Precompiled Header Options