Config file error catches

Several times during development I have managed to miss out a comma or accidentally insert a full stop into one of the config files.

The net result is a whitescreen return. Log files aren’t started, debug doesn’t work etc so it can be frustrating to try to find where the errant file is.

is there either a test config file parser or could Yii2 by default output to the browser an error message, perhaps with an indication of where the bug is?

It would make config file debugging SO much less frustrating!