Debugging ERB Templates

@jeff.ohrstrom: Thanks so much for the echo idea! Would something like this work for the form.yml as well? I am unsure where failures within the rendering of that file are logged. I can see this being great for script.sh.erb since this will just log to the output.log file for that session directory. I think the dry run or preview rendering would be extremely helpful! :grinning:

Just to give you a little context here, I was using the standard module load <%= modules %> convention; however, we started using internal arbitrary convention called ‘app spaces’ in Lmod which requires loading a department’s app space prior to loading the modules. Therefore, I need to have the spaces/chemistry module loaded prior to loading that department’s specific module.