Running and Debugging an App Engine Standard 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 standard
project in an emulator running on your local computer.
Running the project locally
Select the project in the Project Explorer or Package Explorer.
Open the context menu.
Select Run As > App Engine.
Log messages appear in the console as the server starts up.
Eclipse opens its internal web browser to your application. You can also open
an external browser and navigate to
http://localhost:8080. Either way, you'll see a
static HTML page with a link to the servlet.
Debugging the project locally
To debug your project locally, complete the running the project locally
steps, except select Debug As > App Engine instead of
Run As > App Engine in the context menu.
The server stops at the breakpoints you set and shows the Eclipse debugger view.
Running App Engine Standard Apps on a Different Host or Port
To run your App Engine standard application on a different host or
port:
Right-click your project.
Select Run As > Run on Server.
In the dialog, select Manually define a new server.
Select App Engine Standard as the server type.
Enter the hostname in the Server's host name field.
[[["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 the App Engine Java 8 runtime, which will reach its end of support on January 31, 2024, after which deploying new or updating existing Java 8 applications will not be possible."],["You can run an App Engine standard project locally in an emulator within Eclipse by selecting \"Run As\" \u003e \"App Engine\" from the project's context menu."],["Debugging an App Engine standard project locally is similar to running it, but you must select \"Debug As\" \u003e \"App Engine\" instead."],["To run or debug your App Engine application on a different host or port, you must select \"Run on Server\" or \"Debug on Server\", then manually define a new server with the desired hostname and port."]]],[]]