Skip to main content


Specifies the desired format of the debug information written to the output binaries.

debugformat "format"


format specifies the desired debug format:

DefaultSpecifies default debug format should be used by toolset.
c7Specifies that MSVC should store debuginfo in the objects rather than a separate .pdb file.
DwarfNeeds documentation
SplitDwarfNeeds documetation

Note for Visual Studio Users: Use editandcontinue to control the /Zi and /ZI switches; see this discussion for more information.

Applies To

Project configurations.


Premake 5.0 or later.

See Also