← All features

Run configurations

Save how a main class, a script, a program, a make target or an npm script launches, with its arguments, environment and a before-launch step, then run or debug it from the toolbar and share it with the project.

A Python script run configuration: script, interpreter, arguments, working folder, console and Run on A Python script run configuration: script, interpreter, arguments, working folder, console and Run on


A run configuration saves how something launches, so you pick it in the toolbar and press Run or Debug instead of retyping arguments. The choice is remembered across restarts, and a configuration can be shared with the project.

What a configuration holds

Kinds

Choose a Type in Run: Edit Run Configurations…:

Every kind but shell and make can be debugged, and a compound starts several configurations together. A Bash script is debugged from its own tab instead.

Run a step first

A configuration can name a command to run first, such as a build or a code generator. A non-zero exit stops the launch, so a stale binary never runs by accident. For Java, Debug uses that step as its build.

Share with the team

Run: Export Configurations to Project writes them to .editora/run-configurations.json, to commit beside the project settings. Run: Import Configurations from Project merges them back by name, so importing twice never duplicates and a colleague’s edit updates the one you have.

Conveniences

Run configurations belong to a project. Outside one, run a file from its gutter ▶ (see Run files).

See the Running programs guide.