External Processes

Find processes started outside Kovra that are holding ports or running in the background, and decide whether to stop or take them over.

Processes started outside Kovra can still interfere with your workflow:

  • Orphaned processes left behind after closing a terminal in VS Code;
  • Background services launched by AI tools;
  • Programs holding a port and preventing a new service from starting.

Because Kovra cannot read output from external processes, it focuses on three things: discovering them, stopping them, and taking them over.

Where to view them

  • Open the External Processes page to see related processes Kovra has detected.
  • In the Overview, ports occupied by external programs are flagged directly—you can stop the process holding the port or switch to another port.
  • Run Kill Process Using Port… from the Command Palette and enter a port number to look it up.

Before terminating anything, Kovra asks for confirmation and lists the exact processes that will be stopped.

How detection works

Kovra inspects the process table, command lines, working directories, and listening ports to infer which processes belong to your project.

Detection is best-effort, not guaranteed. Kovra cannot read output from external programs, so some processes may be missed or falsely matched:

  • Running debugger processes launched directly by VS Code or Cursor (without an intermediate shell) may be missed;
  • Processes running as Administrator or under another user do not expose their command line or working directory, so they are only listed if they listen on a service port;
  • 32-bit processes do not expose their working directory;
  • Other tools listening on a port (such as another editor’s language server) may be listed by mistake;
  • Unrelated processes whose parent has exited but whose command line happens to contain the project path may be listed by mistake.

This feature is only available on Windows.

Take over

For detected external processes, you can also choose Take Over. Refer to the in-app prompt for the exact behavior.

Edit this page on GitHub ↗