Latex allows setting -d to different values to enable all or a set of debug options that can aid the user