Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Tomcat for JavaNew to Visual Studio Code? Get it now.
Tomcat for Java

Tomcat for Java

Wei Shen

|
683,411 installs
| (24) | Free
Debug or run your java war package in Apache Tomcat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tomcat for Visual Studio Code

Build Status

Usage

start and run

Features

  • Add Tomcat Server from Tomcat Install Path
  • Start/Restart Tomcat Server from VSCode
  • Run war package on Tomcat Server
  • Debug war package on Tomcat Server
  • Run exploded war on Tomcat Server
  • Debug exploded war on Tomcat Server
  • Open server homepage in browser to check all deployed war packages
  • View all deployed war packages in Tomcat Explorer
  • Open war package homepage in browser
  • Stop Tomcat Server
  • Rename Tomcat Server
  • Customize JVM Options when starting Tomcat Server
  • Reveal deployed war packages in file explorer
  • Delete deployed war package

Prerequisites

  • Apache Tomcat
  • Debugger for Java (for debuging war package)

If you are a Windows user, you should add the bin subdirectory of your JDK installation to your PATH environment variable (User or System) and restart VS Code. This is required to debug/run war packages from the VS Code context menu.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Release Notes

Refer to CHANGELOG

Telemetry

VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don't wish to send usage data to Microsoft, you can set the telemetry.enableTelemetry setting to false. Learn more in our FAQ.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft