A diagnostic message is what the implementation presents when it detects an error.
These are normally presented as an alert box in web browsers.
You should always know where the error logs are written for your implementation. On a UNIX platform, it is helpful to open an additional terminal console and pipe the output of the error log to the screen. This can be done with the tail command like this:
tail -f error.log