# Launch Modes

###### Identifier:

org.eclipse.debug.core.launchModes

###### Since:

3.0

###### Description:

This extension point provides a mechanism for contributing launch modes to the debug platform. The debug platform defines modes for "run", "debug", and "profile".

###### Configuration Markup:

<!ELEMENT extension (launchMode+)>

<!ATTLIST extension

point CDATA #REQUIRED>

- point - a fully qualified identifier of the target extension point

<!ELEMENT launchMode EMPTY>

<!ATTLIST launchMode

mode CDATA #REQUIRED

label CDATA #REQUIRED

launchAsLabel CDATA #IMPLIED>

- mode - specifies a unique identifier for this launch mode. The launch modes contributed by the debug plaform are "run", "debug", and "profile".
- label - A human-readable label that describes the launch mode
- launchAsLabel - A human-readable label to be used in a launch cascade menu. For example "Run As". This attribute was added in 3.2 to allow the label to be properly externalized. When unspecified, a default label is created via concatenation.

###### Examples:

The following is an example of a launch delegate extension point:

     <extension point="org.eclipse.debug.core.launchModes">
      <launchMode
       mode="profile"
       label="Profile">
      </launchMode>
     </extension>

In the example above, the profile launch mode is contributed.

Copyright (c) 2000, 2005 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/ SPDX-License-Identifier: EPL-2.0