Skip to content

Repository files navigation

Multirun - VS Code Extension for Multiple Debug Configurations

Multirun is a Visual Studio Code extension that lets you run multiple launch configurations, debug sessions, and terminal scripts together from one Activity Bar panel.

Useful for full-stack projects, microservices, backend/frontend setups, and complex debugging workflows.


Features

  • Run groups of launch configurations and/or terminal scripts with one click
  • Parallel or sequential execution per group, with optional delay between steps
  • Stop groups — kill all debug sessions and terminals in a group at once
  • Live status indicators — running entries are highlighted in the tree view
  • Environment variable support — load from .env files or inline env map per script entry
  • Auto-reload — the view updates automatically when you edit multirun.json
  • Visual config editor — open the built-in webview to edit your groups without touching JSON

Getting Started

  1. Install the extension
  2. Open the Multirun panel in the Activity Bar (rocket icon)
  3. Click the Edit Config button to open .vscode/multirun.json
  4. Define your groups and click Run

Configuration

Multirun reads from .vscode/multirun.json in your workspace root. A config file is created automatically with an example on first use.

{
"version": "1.0.0",
"groups": [
{
"name": "Full Stack",
"sequential": false,
"delay": 500,
"configurations": [
{
"name": "Launch API",
"type": "launch",
"launchConfig": "Launch API"
},
{
"name": "Frontend Dev Server",
"type": "script",
"command": "npm run dev",
"cwd": "packages/frontend",
"envFile": ".env.local",
"env": {
"NODE_ENV": "development"
}
}
]
}
]
}

Group options

FieldTypeDescription
namestringDisplay name shown in the tree view
sequentialbooleanRun entries one after another (true) or all at once (false)
delaynumberMilliseconds to wait between entries in sequential mode
configurationsarrayList of launch or script entries

Entry options

FieldTypeDescription
namestringDisplay name and identifier for the entry
type"launch" | "script"Launch a debug config or run a terminal command
launchConfigstringName of the entry in .vscode/launch.json (launch type only)
commandstringShell command to run (script type only)
cwdstringWorking directory for the terminal (script type only)
envFilestringPath to a .env file to load environment variables from
envobjectInline environment variables (merged on top of envFile)

Commands

CommandDescription
Multirun: RefreshReload the tree view
Multirun: Run GroupStart all entries in a group
Multirun: Stop GroupStop all entries in a group
Multirun: Edit ConfigOpen the visual config editor

Requirements

  • VS Code ^1.80.0

License

MIT

About

A VS Code extension that lets you group and run multiple launch configurations simultaneously with a single click, simplifying multi-service and complex debugging workflows directly from the Activity Bar.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages