See the Coq reference manual for the meaning of these scopes. Elpi Typecheck [] typechecks the current program (or if specified). It understands the #[phase] attribute, see synterp-vs-interp Elpi Debug <string> sets the variable <string>, relevant for conditional clause compilation (the ...