### 37.8 Debugging macros

By default, DITA2Go ignores undefined or blank macros and macro variables; they do not appear in the output. However, if you are debugging a macro process, you might want the names of undefined (possibly misspelled) macros or macro variables to be flagged. To make the name of any blank (or undefined) macro or macro variable appear in the output where the value of the macro or variable would normally appear, specify one or both of the following options:

    [Macros]
    ; NameUndefinedMacros = No (default)
    ;  or Yes (insert $macro name in output)
    NameUndefinedMacros=Yes
    ; NameUndefinedMacroVars = No (default)
    ;  or Yes (insert $$macrovar name in output)
    NameUndefinedMacroVars=Yes

Previous Topic: 37.7 Passing a parameter to a macro

Next Topic: 37.9 Deploying macros and macro variables

Parent Topic: 37. Working with macros

Sibling Topics:

37.1 Defining and invoking macros

37.2 Accessing DITA2Go macro libraries

37.3 Using macro variables

37.4 Using multiple-value list variables

37.5 Accessing settings with configuration macros

37.6 Using expressions in macros

37.7 Passing a parameter to a macro

37.9 Deploying macros and macro variables

37.10 Using macros to fine-tune HTML or XML output