With Nunjucks I use the throwOnUndefined option to see where I use an undefined or null value in my output.
throwOnUndefined
In my code structure I have a main file, and