Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>mirrordNew to Visual Studio Code? Get it now.
mirrord

mirrord

MetalBear

metalbear.co
|
17,873 installs
| (12) | Free
Run your local process in the context of your cloud cluster
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

mirrord for Visual Studio Code

Community Slack License GitHub release (latest SemVer) X Follow VSCode Marketplace

mirrord lets developers and AI coding agents run local processes inside a live Kubernetes cluster. Your code stays on your machine, but mirrord routes its traffic, files, and environment through a target pod in the cluster. Use it to read live cluster context while writing code (real env vars, real service responses, real queue contents), and to run the code against those same services and data once it's written. You get the feedback of a deploy in seconds, without the deploy, and without disrupting the cluster for anyone else.

This extension brings that workflow to VS Code. mirrord also ships as a JetBrains plugin and a CLI tool. Read more in the docs, or sign up to our newsletter to hear about new features.

A gif showing mirrord being used to steal traffic from a kubernetes cluster in the VSCode UI

This repository is for the VSCode extension. mirrord's main repository can be found here.

How to use mirrord for VSCode

  • Click the mirrord status bar item to switch mirrord from Disabled to Enabled

A gif showing mirrord being enabled via a click in the VSCode UI

  • Start debugging your project (shortcut: F5)

  • Choose a target to impersonate

A screenshot of mirrord's target selection pop up in the VSCode UI

  • The debugged process will start with mirrord, and receive the context of the impersonated pod. It will receive its environment variables and incoming traffic, will read and write files to it, and send outgoing traffic through it.

Unless explicitly set in the config, mirrord uses your machine's default kubeconfig for access to the Kubernetes API. Alternatively, use the port mapping configuration.

For incoming traffic, make sure your local process is listening on the same port as the remote pod.

Configuring mirrord for VSCode

mirrord allows for rich configuration of the environment it provides. The schema for it is documented here. The extension supports autocomplete for json files, but you can also use toml or yaml format.

Quick start: the easiest way to start configuring mirrord is to choose "Settings" from the status bar menu, which will open a new mirrord.json.

A screenshot of mirrord's status bar menu in the VSCode UI, with 'Settings' highlighted

Viewing and Adjusting Extension Log Levels

To investigate issues or collect diagnostics from the mirrord extension, you can increase VSCode’s log level and view the extension’s output. Open the Command Palette and run “Developer: Set Log Level…”, then select a higher level such as Debug or Trace. Next, open “Output” (View → Output) and choose mirrord from the dropdown list to see all logs emitted by the extension.

Helpful Links

  • Official documentation for this extension
  • Official language-specific guides for debugging

Contributions, feature requests, issues and support

  • Feel free to join to our Slack if you need help using mirrord, or if you encounter an issue while using the extension.
  • Check our open issues for the VSCode extension and mirrord's core code, and 👍 react to any that you would like to see addressed.
  • Before submitting a pull request for new features, please take a look at mirrord's contributing guide.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft