Some people don't know there is a GLSL validator (official). Download version for your system and copy validator from the bin folder:
https://github.com/KhronosGroup/glslang/releasesExample usage:

It's not an ad or something. Just letting people know about the validator which can save a lot of time.