No more horrible pages from putting /debug=yes/ into the url (cli debug remains unchanged):
Updated the way debug=yes in url works to make it visually more appea…
Actually, might have to take the php side out as if the script doesn't run due to memory / code errors then you won't be able to see the links :/
Added catching php fatal exceptions
Actually print last fatal error out
Scratch that, got it sorted now so a fatal exception will print just that to the browser, the rest are collected for visual viewing.