My PHP app runs on a Caddy webserver, over a FrankenPHP container (Dunglas image). It runs in worker mode.
Unfortunately, it seems that workers prevent abrupted interruptions of the process. So is not possible to use die();
or exit();
.
When using those to get debug output, FrankenPHP doesn’t stop but goes in an infinite loop of reloading the page (and re-logging the exception).