How to see facelet template errors?

I’m using JSF on Payara 7. When there is something wrong with a facelet template such as a syntax error or an issue with EL, I used to see a stack dump in Payara’s server.log. I’m not sure when this changed, but I no longer see that or any useful information about the error other than an HTTP 500 response.

I’ve tried setting jakarta.faces.PROJECT_STAGE to Development in web.xml and also changing the log level of javax.enterprise.resource.webcontainer.jsf.facelets to FINE but still get no error details. Yes I redeployed and also restarted Payara. For now I have to delete chunks of my template until I the page renders again, then try to figure out what’s wrong. Sometimes there is nothing obviously wrong and I wish Payara would just show the error detail in the log.

Can anyone please help get facelet template error details to show in the server.log or on screen since the PROJECT_STAGE is Development?

I opened a bug report: