With the latest ScriptingToolset that is supplied with Login Enterprise 4.1.x the default F5 functionality within Visual Studio Code does not work. The F5 runs the script with debugging turned on.
To mitigate the issue you can run a script using the "Ctrl+F5" command or Run without debugging option. This still runs the script as normal.
To view more output please open the terminal window of Visual Studio Code.