Calling the compiler with --help=debug will list all debug flags and what they do. The flags are given as a comma separated string. Flags can be disabled by prefixing them with -.
Example input: failtrace,-noevalfunc
function setDebugFlags input String debugFlags; output Boolean success; end setDebugFlags;