Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Kill SwitchNew to Visual Studio Code? Get it now.
Kill Switch

Kill Switch

Sarvesh

|
49 installs
| (2) | Free
VS Code extension to kill processes running on ports
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Kill Switch - VS Code Extension

Kill Switch is a VS Code extension that allows users to quickly kill processes running on a specified port using the search bar.

Features

  • Kill Process by Port: Enter a port number in the search bar to terminate processes running on it.
  • Cross-Platform Support: Works on Windows (PowerShell) and macOS/Linux (lsof & kill commands).
  • Lightweight & Fast: No additional dependencies required.

Video Tutorial

Kill Switch Tutorial

How to Use

  1. Open the VS Code search bar (Ctrl + P or Cmd + P on Mac).
  2. Type > to enter command mode.
  3. Search for Kill Switch: Kill Process in Port.
  4. Enter the port number (e.g., 3000).
  5. If a process is running on the specified port, it will be terminated.

Requirements

  • Windows: Requires PowerShell for process termination.
  • macOS/Linux: Requires lsof and kill.

Extension Settings

This extension does not require any additional settings.

Known Issues

  • Ensure that PowerShell is installed and accessible on Windows.
  • For macOS/Linux, lsof must be installed.

Release Notes

1.0.0

  • Initial release with search bar integration for killing processes by port.

Future Updates

  • Adding sidebar integration if needed.
  • Displaying process details before termination.

For more details, visit the VS Code API documentation.

Enjoy using Kill Switch! 🚀

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