Create and run a launch configuration

To run or debug a program with the IDE, you must set up a launch configuration. A launch configuration is a collection of settings (e.g., command-line parameters, environment variables, and so on) that determine how your program starts. Each launch configuration specifies a single program running on a single target. The configurations also define which special tools to run with your program (e.g. the Code Coverage tool, the Application Profiler, Kernel Logging, and the Memory Analysis tool). You enter these settings once, and then you can use them again and again.

In the IDE, a launch configuration for running a program is called a run configuration and a launch configuration for debugging a program is called a debug configuration. We use the term launch configuration to refer to both.

If you want to run your program on a different target, you can copy and modify an existing launch configuration. And you can use the same configuration for both running and debugging your program, provided that your options are the same.