Running and Debugging an App Engine Flex Project Locally Inside Eclipse
Stay organized with collections
Save and categorize content based on your preferences.
This page shows you how to run and debug your App Engine flexible
project in a Jetty server running on your local computer.
Before you begin
Install the Eclipse Jetty Integration from the
Eclipse marketplace if you have
not already done so.
Creating run and debug configurations
To create a new run and debug configuration for your app:
Select your flex application in the Project Explorer.
Select Run > Run Configurations....
Select Jetty Webapp in the left panel.
Click the New launch configuration icon.
The run configuration Name autofills with the project name.
Fill in other fields as needed.
Click Run.
For more information about the configuration options available when creating run
and debug configurations, refer to the
Eclipse Jetty documentation.
Launching your project with Jetty
After creating the run configuration, you can launch your project on the Jetty
server by selecting Run > Run As > Run with Jetty.
Your project is available at http://localhost:8080/, or on the port you
specified in the run configuration.
You can debug your project by selecting Run > Debug As >
Run with Jetty.
To stop the Jetty server, click the Terminate button (the red square) in the
Console toolbar for the Jetty output.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["Cloud Tools for Eclipse is only compatible with App Engine Java 8, which will no longer be supported after January 31, 2024, and users will not be able to deploy or update existing Java 8 applications after the support date."],["This guide provides instructions on how to run and debug an App Engine flexible project locally using a Jetty server."],["You must first install the Eclipse Jetty Integration from the Eclipse marketplace before setting up your project to run and debug with Jetty."],["You can launch your project on the Jetty server by selecting \"Run As\" \u003e \"Run with Jetty\" and access it via `http://localhost:8080/` or the port you defined in the run configuration."],["Once you have tested your application on the Jetty server, it can be deployed to the App Engine flexible environment."]]],[]]