What would prevent the Template Debug output to txt file?

Tags: #<Tag:0x00007f2256cea548>

Getting a template that crashes when there is more than about 30 entries in a #button inline, switched on the debug template output to text file, got it pointing to the clarion folder but its not writing anything out to the file.

What would prevent the template debug out text file from being written?