Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Procfile ScriptNew to Visual Studio Code? Get it now.
Procfile Script

Procfile Script

Wilfison

|
4 installs
| (0) | Free
Run scripts defined in your Procfile
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Procfile Script

A Visual Studio Code extension to run scripts defined in Procfile files.

Version Installs Rating

Procfile Script in action

How to use

  1. Install the extension
  2. Open a project containing a Procfile or Procfile.dev file
  3. Locate the "Procfile Scripts" section in the Explorer panel of VS Code
  4. Click the 'play' button on the right of a script to run it, or on the Procfile itself to run all scripts.
  5. Click the 'stop' button on the right to stop the running script or Procfile.

Runners

Language Runner
Ruby (Default) foreman
Go forego
Node.js node-foreman
Java/JVM gaffer
Go goreman
python honcho
Perl proclet
shell shoreman
Crystal crank
Haskell houseman
Go spm

Supported formats

The extension supports standard Procfile format:

process_name: command to run

It also supports the Procfile.dev format, which is commonly used for development environments.

web: node server.js
worker: node worker.js

The Procfile.dev can contain multiple scripts, and the extension will display them in a hierarchical tree structure:

- Procfile.dev
  - web
  - js
  - css
- Procfile
  - web
  - worker

The following files are automatically recognized:

  • Procfile
  • Procfile.dev

Configuration

The extension offers the following configuration options:

  • procfile-script.files: Array of Procfile filenames to detect (default: ["Procfile", "Procfile.dev"])
  • procfile-script.runner: Command used to run Procfile files (default: "foreman")

You can customize these settings in VS Code's settings:

{
  "procfile-script.files": ["Procfile", "Procfile.dev", "Procfile.local"],
  "procfile-script.runner": "foreman"
}

Planned features

  • Custom color configuration for different scripts

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft