How to debug an 'empty ' page?

I write a leaf bundle with some downloadable files in it.

When I start hugo server, the page shows up in the menus , but is empty . A view sourcecode in the browser reveals only

<pre>
</pre>

When I generate a website the file is generated and looks as it should.

What is the method to debug something like this ?

This may be useful