Tomcat for VSCode
Advanced Apache Tomcat management. Full server control, smart deployment, browser integration and debugging support. Features
Installation
Command line:
Usage
When is a project considered a Java EE project? click to expand
Method location, If you notice any false positives/negatives or have better ideas for detection logic, you are more than welcome to contribute:
|
Command | Description |
---|---|
Tomcat: Start |
Launch the Tomcat server |
Tomcat: Stop |
Stop the running server |
Tomcat: Clean |
Clean Tomcat webapps , temp , and work folders |
Tomcat: Deploy |
Deploy the current Java EE project |
Tomcat: Help |
Show the help documentation |
Configuration
Access via Ctrl+, → Search "Tomcat"
Setting | Default | Description |
---|---|---|
tomcat.autoDeployBuildType |
Fast |
Default build strategy for deployments (Fast , Maven , Gradle ) |
tomcat.autoDeployMode |
Disabled |
Auto-deploy triggers (Disabled , On Save , On Shortcut ) |
tomcat.browser |
Google Chrome |
Browser for app launch & debug (Google Chrome , Microsoft Edge , Firefox , Safari , Brave , Opera ) |
tomcat.port |
8080 |
Tomcat server listen port (valid range: 1024 -65535 ) |
tomcat.protectedWebApps |
["ROOT", "docs", "examples", "manager", "host-manager"] |
List of protected web apps during cleanup operations |
tomcat.autoScrollOutput |
true |
Automatically reveal and scroll output channel when new logs are added |
ℹ️
tomcat.home
andtomcat.javaHome
are now auto-detected and hidden from user settings.
Requirements
Runtime:
- JDK 11+
- Apache Tomcat 9+
Build Tools (optional):
Maven
3.6+ orGradle
6.8+ (if usingMaven
orGradle
build types)
Developer Documentation
For technical implementation details and contribution guidelines, see:
Known Issues
- Firefox and Safari will always open a new tab instead of reusing the existing one due to browser limitations.
What's New in 2.4.0
HTTP Traffic Insights
New real-time access log monitoring with dynamic file watching capabilitiesEnhanced Debugging Experience
Addedtomcat.autoScrollOutput
setting to automatically scroll output channel logs disable if it interferes with your workflowEnhanced Deployment Reliability
Added automatic retry mechanism for busy resource errors with process cleanupDiagnostics Improvements
Syntax highlighting support for Tomcat HTTP logs and admin operationsOptimized Build Process
Refactored fast deployment strategy with improved directory management and JAR skiping logic
License: MIT • 💖 Support: Star our GitHub Repo • VScode Marketplace