This page shows you how to run and debug your App Engine standard project in an emulator running on your local computer.
Cloud Tools for Eclipse uses the Eclipse Web Tools Project flow.
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.
Enter the port in the Server port field.
- Once you're happy with how your application behaves locally, you can deploy it to the App Engine standard environment.