In the minified p5.min.js, the friendly Error system is optimized out, so you can't even turn it on if you want.
This removes useful error information, for example a shader that fails to compile will not log anymore.
The default project setup loads p5.min.js and comes without the non-minified version, so it would be nice to have an alternative command that provides both minified and non-minified, while loading the non-minified version in index.html by default.