Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ErrorSnapNew to Visual Studio Code? Get it now.
ErrorSnap

ErrorSnap

Depth First Code

|
1 install
| (2) | Free
Automatically captures failed terminal command output and lets you copy errors with one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
ErrorSnap icon

ErrorSnap

Capture failed terminal output. Copy the error in one click.

Marketplace Version Marketplace Installs Visual Studio Marketplace


Stop Selecting Terminal Errors Manually

ErrorSnap watches commands executed in the VS Code integrated terminal. When a command fails, it captures the terminal output and displays a Copy Error action in the status bar.

One click copies the captured error to your clipboard, ready to paste into an issue, search engine, AI assistant, documentation, or team chat.

Key Features

Feature Description
Automatic failure detection Detects commands that finish with a non-zero exit code.
One-click error copying Copies the latest captured terminal error directly to the clipboard.
Complete terminal context Preserves the useful command output and stack trace for debugging.
Lightweight workflow Runs quietly and only shows the action when an error is available.
Local processing Error output remains on your machine and is not uploaded by ErrorSnap.
Cross-platform shell support Works with terminals supported by VS Code Shell Integration.

How It Works

  1. Open the integrated terminal in VS Code.
  2. Run a command normally.
  3. If the command fails, ErrorSnap captures its output.
  4. Click Copy Error in the status bar.
  5. Paste the error wherever you need it.

Quick Example

Run a command that fails:

node missing-file.js

ErrorSnap captures the resulting error and makes it available through the Copy Error action.

Supported Terminals

ErrorSnap relies on the official VS Code Terminal Shell Integration API.

Terminal Support
PowerShell 7 (pwsh) Supported
Git Bash Supported
Bash Supported
Zsh Supported
Fish Supported
Windows Command Prompt (cmd.exe) Not supported in v0.0.1
Windows PowerShell 5.1 Not supported
External terminal applications Not monitored

Windows recommendation: Use PowerShell 7 or Git Bash inside the VS Code integrated terminal.

Requirements

  • Visual Studio Code 1.120.0 or later
  • VS Code Terminal Shell Integration enabled
  • A supported integrated terminal profile

Shell integration is enabled by default. You can verify the setting by searching for:

terminal.integrated.shellIntegration.enabled

Commands

Open the Command Palette with Ctrl+Shift+P or Cmd+Shift+P.

Command Purpose
ErrorSnap: Copy Latest Terminal Error Copies the latest captured error to the clipboard.

Installation

Visual Studio Marketplace

  1. Open the Extensions view in VS Code.
  2. Search for ErrorSnap.
  3. Select the extension published by Depth First Code.
  4. Click Install.

You can also search by the exact extension identifier:

@id:depthfirstcode.errorsnap

Install from VSIX

  1. Open the Extensions view.
  2. Select the Views and More Actions menu.
  3. Choose Install from VSIX...
  4. Select the ErrorSnap .vsix package.

Known Limitations

  • Automatic capture requires VS Code Shell Integration.
  • Regular Command Prompt does not provide the command lifecycle events required by the current implementation.
  • ErrorSnap monitors the VS Code integrated terminal only.
  • Error output is captured after ErrorSnap receives the command-start event.

Roadmap

  • ErrorSnap custom terminal for Command Prompt workflows
  • Captured error history
  • Configurable output limits
  • Improved error cleanup and formatting
  • Additional terminal actions

Privacy

ErrorSnap processes captured terminal output locally. It does not send terminal content, commands, or errors to an external service.

Feedback and Support

Found a bug or have a feature request?

  • Open an issue
  • View the source code

License

ErrorSnap is available under the MIT License.


Built by Muhammad Hamza
Published by Depth First Code
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft