Set up server launch configurations in vscode
10:14 21 Nov 2025

I am trying to move from eclipse to vscode.

I want to set up various Tomcat server configurations so that I can run my web app in different environments.

I have installed Tomcat to c:\servers\tomcat. I now want to add a number of tomcat servers to the Community Server Connector and configure each one differently.

The only information that I have found so far is to modify c:\servers\tomcat\bin\setenv.bat but this appears to me to be a global change rather than for a server instance. Further information I found suggests duplicating the c:\servers\tomcat for each server I require. This seems like overkill. Eclipse is able to take a server installation, create a new server and define VM args and environment without duplicating the server.

What is the best way to handle this in vscode?

visual-studio-code webserver