debug property

bool? debug
final

Whether to produce a Debug build.

When null (the default), the build type is inferred at runtime from input.config.linkingEnabled:

  • linkingEnabled == true → AOT / release → Release
  • linkingEnabled == false → JIT / debug → Debug

Set explicitly to override auto-detection.

Controls CMAKE_BUILD_TYPE (single-config generators) or --config (multi-config generators), and selects the debug or release CRT variant (/MDd vs /MD, /MTd vs /MT).

Implementation

final bool? debug;