Right click at the project name > properties > Linker > System > SubSystem : Windows. Getting Set up for Development with Visual Studio. When you’re done editing your Java code, you can go into the Visual Studio debug menu and choose “ Java Only ” from the Debug Type menu.
Support for Java in Visual Studio Code is provided through a wide range of extensions. thenc - add then and catch declaration to a promise.