bach check tells you whether your config is valid and what the installer would contain, without building. Run it after every change. It works on every system.
Output
Mistakes and warnings
A mistake stops with one sentence naming the setting, such as:--strict: