# setDebugLevel

open fun setDebugLevel(@Nullable debugLevel: @Nullable String)(source)

Sets which debug information is to be generated during compilation. The value must be a comma-separated list containing any of the following keywords (without spaces in between):

`source`
  Source file debugging information
`lines`
  Line number debugging information
`vars`
  Local variable debugging information

For example `source,lines,vars` is a valid value.

Alternatively setting the value to `none` will disable debug information generation.

Setting this value to null will reset the property to its default value of only generating line and source debug information.