This question already has an answer here:
Until a few weeks ago, vs code use to have a reasonable error message if there was an error when deploying.
But I notice the last few weeks this is change and it is not very descriptive the problem, eg:
Is there a way to display more information? I now finding myself copying and pasting my code into the dev console or the web browser to get the actual error message