blob: 2d65d8ad99b416a546f263ff63376f86e793f95f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Starting a server in debug mode</title>
</head>
<body id="twsrtdbg"><a name="twsrtdbg"><!-- --></a>
<h1 class="topictitle1">Starting a server in debug mode</h1>
<div><p>If you want to debug your projects while a server runs, you can
start a server in debug mode.</p><div class="p"><b>Prerequisites:</b>
<ol>
<li><a href="twcrtins.html#twcrtins">Create a server.</a></li>
<li>Add a project to the server.</li>
<li>Edit the file you want to run and set breakpoints.</li>
<li>Open the Debug perspective.</li>
</ol>
</div>
<div class="skipspace"><p>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 <span class="uicontrol"> Status </span> column
of the Servers view. The status of the breakpoints in your file is displayed
in the Debug view.</p>
<p>To manually start the server in debug mode:</p>
<p> </p>
</div>
<ol><li class="skipspace"><span>In the Servers view ( <span class="menucascade"><span class="uicontrol">Window &gt; Show View
&gt; Other &gt; Server &gt; Servers</span></span>), right-click the server
you want to start in debug mode.</span></li>
<li class="skipspace"><span>Select <span class="uicontrol">Debug </span> <img src="../images/launch_debug.gif" alt="Picture of Start in debug mode icon" /> on the Server toolbar. </span> In the <span class="uicontrol">Status</span> column of the Servers view, the
status of the server changes to <i>Debugging</i>, after the server is started
in debug mode.</li>
</ol>
</div>
</body>
</html>