blob: 7faa3529518dc4f1efecf5e173fc2bb535b847b2 [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 lang="en-us" xml:lang="en-us">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2009 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Starting a server in debug mode" />
<meta name="abstract" content="If you want to debug your projects while a server runs, you can start a server in debug mode." />
<meta name="description" content="If you want to debug your projects while a server runs, you can start a server in debug mode." />
<meta content="applications, running on servers in debug mode, projects, running on servers in debug mode, servers, starting in debug mode" name="DC.subject" />
<meta content="applications, running on servers in debug mode, projects, running on servers in debug mode, servers, starting in debug mode" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="twsrtdbg_wst" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<title>Starting a server in debug mode</title>
</head>
<body id="twsrtdbg_wst"><a name="twsrtdbg_wst"><!-- --></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"><strong>Prerequisites:</strong><ol>
<li id="twsrtdbg_wst__twsrtdbg_li1"><a name="twsrtdbg_wst__twsrtdbg_li1"><!-- --></a><a href="twcrtins.html">Create a server.</a></li>
<li id="twsrtdbg_wst__twsrtdbg_li2"><a name="twsrtdbg_wst__twsrtdbg_li2"><!-- --></a><a href="twaddprj.html">Add a project to the server.</a></li>
<li id="twsrtdbg_wst__twsrtdbg_li3"><a name="twsrtdbg_wst__twsrtdbg_li3"><!-- --></a>Edit the file you want to run and set breakpoints.</li>
<li id="twsrtdbg_wst__twsrtdbg_li4"><a name="twsrtdbg_wst__twsrtdbg_li4"><!-- --></a>Open the Debug perspective.</li>
</ol>
</div>
<div class="section" id="twsrtdbg_wst__twsrtdbg_context"><a name="twsrtdbg_wst__twsrtdbg_context"><!-- --></a><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="stepexpand" id="twsrtdbg_wst__twsrtdbg_step1"><a name="twsrtdbg_wst__twsrtdbg_step1"><!-- --></a><span>In the Servers view ( <span class="menucascade">
<span class="uicontrol">Window &gt; Show View &gt; Other &gt; Server &gt; Servers &gt; OK</span>
</span>), right-click the server you want to start in debug
mode.</span></li>
<li class="stepexpand"><span><span id="twsrtdbg_wst__twsrtdbg_steps_ph1"><a name="twsrtdbg_wst__twsrtdbg_steps_ph1"><!-- --></a>In the pop-up menu select <span class="uicontrol">Debug </span> </span> <img src="../images/launch_debug.gif"
alt="This is an image of the Start in debug mode icon" /> . </span> <span id="twsrtdbg_wst__twsrtdbg_steps_ph2"><a name="twsrtdbg_wst__twsrtdbg_steps_ph2"><!-- --></a>In the Servers view, the status of the server
changes to <em>Debugging</em>, after the server is started in debug
mode.</span></li>
</ol>
</div>
</body>
</html>