Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>Port BusterNew to Visual Studio Code? Get it now.
Port Buster

Port Buster

Eliasb

|
1 install
| (1) | Free
Detect rogue processes hogging your local dev ports and kill them in one click. Cross-platform (Windows/macOS/Linux).
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔌 Port Buster

Detect and terminate rogue processes hogging your local development ports, right from the VS Code sidebar. Cross-platform: Windows, macOS, and Linux.

version build license

Features

  • 📡 Live sidebar view of every listening TCP port, with process name and PID.
  • ⭐ Monitored ports pin the ports you care about (3000, 5432, ...) to the top.
  • 🛡️ Excluded processes never list or kill critical system processes.
  • 🗑️ 1-click Kill, gated behind a confirmation dialog by default.
  • 🔄 Configurable auto-refresh.

Configuration

Setting Default Description
portBuster.monitoredPorts [3000, 4200, 5000, 8080, 5432] Ports pinned to the top of the list.
portBuster.excludedProcesses ["System", "svchost.exe", "launchd", ...] Process names never shown/killable.
portBuster.showOnlyMonitoredPorts false Hide everything except monitored ports.
portBuster.confirmBeforeKill true Require confirmation before terminating a process.
portBuster.autoRefreshInterval 5000 Auto-refresh interval in ms (0 disables).
portBuster.version / portBuster.buildNumber - Read-only build metadata.

How scanning works

  • Windows: Get-NetTCPConnection + Get-Process via a single static PowerShell script, output as JSON.
  • macOS/Linux: lsof -iTCP -sTCP:LISTEN -F pcnPT (machine-readable field output), falling back to ss -tlnp, then netstat -tlnp if neither is available.

Contributing

Issues and PRs welcome! Please run npm run lint && npm test before submitting.

Credits

  • Designed and built by Elias.
  • Credits to my friend for bringing me this idea!
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft