# Starting a server in debug mode

If you want to debug your projects while a server runs, you can start a server in debug mode.

Prerequisites:

1. Create a server.
2. Add a project to the server.
3. Edit the file you want to run and set breakpoints.
4. Open the Debug perspective.

Once you have started the server in debug mode you can run the projects that are associated with the server. You can stop and restart the server at any time. The status of the server is displayed in the Status column of the Servers view. The status of the breakpoints in your file is displayed in the Debug view.

To manually start the server in debug mode:

1. In the Servers view ( Window > Show View > Other > Server > Servers > OK ), right-click the server you want to start in debug mode.
2. In the pop-up menu select Debug . In the Servers view, the status of the server changes to Debugging, after the server is started in debug mode.